Skip to content

Commit

Permalink
juniper_rocket_async: fix tokio dependency (graphql-rust#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
toxeus authored Jan 15, 2021
1 parent 4f39390 commit 516c720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion juniper_rocket_async/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ where
type Error = String;

async fn from_data(req: &Request<'_>, data: Data) -> data::Outcome<Self, Self::Error> {
use tokio::io::AsyncReadExt as _;
use rocket::tokio::io::AsyncReadExt as _;

let content_type = req
.content_type()
Expand Down

0 comments on commit 516c720

Please sign in to comment.