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
|
||||
# extern crate async_graphql;
|
||||
# extern crate tokio;
|
||||
# use async_graphql::*;
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
fn main() {
|
||||
let schema = Schema::build(EmptyQuery, EmptyMutation, EmptySubscription)
|
||||
.enable_federation()
|
||||
.finish();
|
||||
|
|
Loading…
Reference in New Issue