Update readme

This commit is contained in:
Sunli 2020-10-16 09:21:16 +08:00
parent 43bf61754a
commit 6efc93e6b3
2 changed files with 16 additions and 2 deletions

View File

@ -56,7 +56,14 @@ This crate uses `#![forbid(unsafe_code)]` to ensure everything is implemented in
## Examples
https://github.com/async-graphql/examples
All examples are in the [sub-repository](https://github.com/async-graphql/examples), located in the examples directory.
**Run an example:**
```shell
git submodule update # update the examples repo
cd examples && cargo run --bin [name]
```
## Benchmark

View File

@ -92,7 +92,14 @@
//!
//! ## Examples
//!
//! [https://github.com/async-graphql/examples](https://github.com/async-graphql/examples)
//! All examples are in the [sub-repository](https://github.com/async-graphql/examples), located in the examples directory.
//!
//! **Run an example:**
//!
//! ```shell
//! git submodule update # update the examples repo
//! cd examples && cargo run --bin [name]
//! ```
//!
//! ## Benchmarks
//!