docs: Remove tokio from examples

This commit is contained in:
Dylan Anthony 2022-09-23 11:15:22 -06:00
parent 39b6565497
commit ffa25cecf5
1 changed files with 1 additions and 3 deletions

View File

@ -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();