Skip to content

Commit 516c720

Browse files
authored
juniper_rocket_async: fix tokio dependency (#848)
1 parent 4f39390 commit 516c720

File tree

1 file changed

+1
-1
lines changed
  • juniper_rocket_async/src

1 file changed

+1
-1
lines changed

juniper_rocket_async/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ where
287287
type Error = String;
288288

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

292292
let content_type = req
293293
.content_type()

0 commit comments

Comments
 (0)