docs: Remove tokio from examples
This commit is contained in:
parent
39b6565497
commit
ffa25cecf5
|
@ -10,10 +10,8 @@ Apollo Federation is a GraphQL architecture for combining multiple GraphQL servi
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
# extern crate async_graphql;
|
# extern crate async_graphql;
|
||||||
# extern crate tokio;
|
|
||||||
# use async_graphql::*;
|
# use async_graphql::*;
|
||||||
#[tokio::main]
|
fn main() {
|
||||||
async fn main() {
|
|
||||||
let schema = Schema::build(EmptyQuery, EmptyMutation, EmptySubscription)
|
let schema = Schema::build(EmptyQuery, EmptyMutation, EmptySubscription)
|
||||||
.enable_federation()
|
.enable_federation()
|
||||||
.finish();
|
.finish();
|
||||||
|
|
Loading…
Reference in New Issue