Move project to async-graphql
This commit is contained in:
parent
495df5a9ab
commit
aefe448ede
|
@ -7,8 +7,8 @@ description = "The GraphQL server library implemented by rust"
|
|||
publish = true
|
||||
license = "MIT/Apache-2.0"
|
||||
documentation = "https://docs.rs/async-graphql/"
|
||||
homepage = "https://github.com/sunli829/async-graphql"
|
||||
repository = "https://github.com/sunli829/async-graphql"
|
||||
homepage = "https://github.com/async-graphql/async-graphql"
|
||||
repository = "https://github.com/async-graphql/async-graphql"
|
||||
keywords = ["futures", "async", "graphql"]
|
||||
categories = ["network-programming", "asynchronous"]
|
||||
readme = "README.md"
|
||||
|
|
14
README.md
14
README.md
|
@ -2,9 +2,9 @@
|
|||
|
||||
<div align="center">
|
||||
<!-- CI -->
|
||||
<img src="https://github.com/sunli829/potatonet/workflows/CI/badge.svg" />
|
||||
<img src="https://github.com/async-graphql/async-graphql/workflows/CI/badge.svg" />
|
||||
<!-- codecov -->
|
||||
<img src="https://codecov.io/gh/sunli829/async-graphql/branch/master/graph/badge.svg" />
|
||||
<img src="https://codecov.io/gh/async-graphql/async-graphql/branch/master/graph/badge.svg" />
|
||||
<!-- Crates version -->
|
||||
<a href="https://crates.io/crates/async-graphql">
|
||||
<img src="https://img.shields.io/crates/v/async-graphql.svg?style=flat-square"
|
||||
|
@ -26,23 +26,23 @@
|
|||
|
||||
It supports all of the GraphQL specifications and is easy to integrate into existing web servers.
|
||||
|
||||
* [Book(WIP)](https://sunli829.github.io/async-graphql/en/index.html)
|
||||
* [中文文档](https://sunli829.github.io/async-graphql/zh-CN/index.html)
|
||||
* [Book(WIP)](https://async-graphql.github.io/async-graphql/en/index.html)
|
||||
* [中文文档](https://async-graphql.github.io/async-graphql/zh-CN/index.html)
|
||||
* [Docs](https://docs.rs/async-graphql)
|
||||
* [GitHub repository](https://github.com/sunli829/async-graphql)
|
||||
* [GitHub repository](https://github.com/async-graphql/async-graphql)
|
||||
* [Cargo package](https://crates.io/crates/async-graphql)
|
||||
* Minimum supported Rust version: 1.42 or later
|
||||
|
||||
## Examples
|
||||
|
||||
If you are just getting started, we recommend checking out our examples at: https://github.com/sunli829/async-graphql-examples
|
||||
If you are just getting started, we recommend checking out our examples at: https://github.com/async-graphql/examples
|
||||
|
||||
To see how you would create a Relay-compliant server using async-graphql, warp, diesel & postgesql, you can also check out a real-world example at: https://github.com/phated/twentyfive-stars
|
||||
|
||||
## Benchmark
|
||||
|
||||
```shell script
|
||||
git clone https://github.com/sunli829/graphql-benchmark
|
||||
git clone https://github.com/async-graphql/benchmark
|
||||
cargo run --release
|
||||
```
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@ description = "async-graphql for actix-web"
|
|||
publish = true
|
||||
license = "MIT/Apache-2.0"
|
||||
documentation = "https://docs.rs/async-graphql/"
|
||||
homepage = "https://github.com/sunli829/async-graphql"
|
||||
repository = "https://github.com/sunli829/async-graphql"
|
||||
homepage = "https://github.com/async-graphql/async-graphql"
|
||||
repository = "https://github.com/async-graphql/async-graphql"
|
||||
keywords = ["futures", "async", "graphql"]
|
||||
categories = ["network-programming", "asynchronous"]
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@ description = "Macros for async-graphql"
|
|||
publish = true
|
||||
license = "MIT/Apache-2.0"
|
||||
documentation = "https://docs.rs/async-graphql/"
|
||||
homepage = "https://github.com/sunli829/async-graphql"
|
||||
repository = "https://github.com/sunli829/async-graphql"
|
||||
homepage = "https://github.com/async-graphql/async-graphql"
|
||||
repository = "https://github.com/async-graphql/async-graphql"
|
||||
keywords = ["futures", "async", "graphql"]
|
||||
categories = ["network-programming", "asynchronous"]
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@ description = "async-graphql for tide"
|
|||
publish = true
|
||||
license = "MIT/Apache-2.0"
|
||||
documentation = "https://docs.rs/async-graphql/"
|
||||
homepage = "https://github.com/sunli829/async-graphql"
|
||||
repository = "https://github.com/sunli829/async-graphql"
|
||||
homepage = "https://github.com/async-graphql/async-graphql"
|
||||
repository = "https://github.com/async-graphql/async-graphql"
|
||||
keywords = ["futures", "async", "graphql"]
|
||||
categories = ["network-programming", "asynchronous"]
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ use tide::{http::headers, Request, Response, Status, StatusCode};
|
|||
///
|
||||
///
|
||||
/// # Examples
|
||||
/// *[Full Example](<https://github.com/sunli829/async-graphql-examples/blob/master/tide/starwars/src/main.rs>)*
|
||||
/// *[Full Example](<https://github.com/async-graphql/examples/blob/master/tide/starwars/src/main.rs>)*
|
||||
///
|
||||
/// ```no_run
|
||||
/// use async_graphql::*;
|
||||
|
|
|
@ -7,8 +7,8 @@ description = "async-graphql for warp"
|
|||
publish = true
|
||||
license = "MIT/Apache-2.0"
|
||||
documentation = "https://docs.rs/async-graphql/"
|
||||
homepage = "https://github.com/sunli829/async-graphql"
|
||||
repository = "https://github.com/sunli829/async-graphql"
|
||||
homepage = "https://github.com/async-graphql/async-graphql"
|
||||
repository = "https://github.com/async-graphql/async-graphql"
|
||||
keywords = ["futures", "async", "graphql"]
|
||||
categories = ["network-programming", "asynchronous"]
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ impl Reject for BadRequest {}
|
|||
/// It outputs a tuple containing the `Schema` and `QuertBuilder`.
|
||||
///
|
||||
/// # Examples
|
||||
/// *[Full Example](<https://github.com/sunli829/async-graphql-examples/blob/master/warp/starwars/src/main.rs>)*
|
||||
/// *[Full Example](<https://github.com/async-graphql/examples/blob/master/warp/starwars/src/main.rs>)*
|
||||
///
|
||||
/// ```no_run
|
||||
///
|
||||
|
|
|
@ -51,4 +51,4 @@ let json = serde_json::to_vec(async_graphql::http::GQLResponse(res));
|
|||
|
||||
## Web server integration
|
||||
|
||||
Please refer to https://github.com/sunli829/async-graphql-examples.
|
||||
Please refer to https://github.com/async-graphql/examples.
|
|
@ -38,4 +38,4 @@ type User @key(id: ID!) {
|
|||
|
||||
你必须在这个实体查找函数中根据key来创建对应的对象。
|
||||
|
||||
完整的例子请参考https://github.com/sunli829/async-graphql-examples/tree/master/federation
|
||||
完整的例子请参考https://github.com/async-graphql/examples/tree/master/federation
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
只需要实现`async_graphql::Extension`就能够定义一个扩展对象,然后在创建`Schema`的时候调用`Schema::extension`应用扩展。
|
||||
|
||||
你可以参考[Apollo tracing](https://github.com/sunli829/async-graphql/blob/master/src/extensions/tracing.rs)来实现自己的扩展类型。
|
||||
你可以参考[Apollo tracing](https://github.com/async-graphql/async-graphql/blob/master/src/extensions/tracing.rs)来实现自己的扩展类型。
|
|
@ -51,4 +51,4 @@ let json = serde_json::to_vec(async_graphql::http::GQLResponse(res));
|
|||
|
||||
## 和Web Server的集成
|
||||
|
||||
请参考https://github.com/sunli829/async-graphql-examples。
|
||||
请参考https://github.com/async-graphql/examples。
|
|
@ -2,9 +2,9 @@
|
|||
//!
|
||||
//! <div align="center">
|
||||
//! <!-- CI -->
|
||||
//! <img src="https://github.com/sunli829/potatonet/workflows/CI/badge.svg" />
|
||||
//! <img src="https://github.com/async-graphql/async-graphql/workflows/CI/badge.svg" />
|
||||
//! <!-- codecov -->
|
||||
// <img src="https://codecov.io/gh/sunli829/async-graphql/branch/master/graph/badge.svg" />
|
||||
// <img src="https://codecov.io/gh/async-graphql/async-graphql/branch/master/graph/badge.svg" />
|
||||
//! <!-- Crates version -->
|
||||
//! <a href="https://crates.io/crates/async-graphql">
|
||||
//! <img src="https://img.shields.io/crates/v/async-graphql.svg?style=flat-square"
|
||||
|
@ -24,7 +24,7 @@
|
|||
//!
|
||||
//! ## Documentation
|
||||
//!
|
||||
//! * [GitHub repository](https://github.com/sunli829/async-graphql)
|
||||
//! * [GitHub repository](https://github.com/async-graphql/async-graphql)
|
||||
//! * [Cargo package](https://crates.io/crates/async-graphql)
|
||||
//! * Minimum supported Rust version: 1.42 or later
|
||||
//!
|
||||
|
|
|
@ -13,7 +13,7 @@ use std::path::PathBuf;
|
|||
///
|
||||
///
|
||||
/// # Example
|
||||
/// *[Full Example](<https://github.com/sunli829/async-graphql-examples/blob/master/models/files/src/lib.rs>)*
|
||||
/// *[Full Example](<https://github.com/async-graphql/examples/blob/master/models/files/src/lib.rs>)*
|
||||
///
|
||||
/// ```
|
||||
/// use async_graphql::Upload;
|
||||
|
|
Loading…
Reference in New Issue
Block a user