File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ repository = "https://github.com/graphql-rust/juniper"
14
14
[dependencies ]
15
15
futures = " 0.3.1"
16
16
juniper = { version = " 0.15.6" , path = " ../juniper" , default-features = false }
17
- rocket = { git = " https://github.com/SergioBenitez/Rocket " , branch = " master " , default-features = false }
17
+ rocket = { version = " 0.5.0-rc.1 " , default-features = false }
18
18
serde_json = " 1.0.2"
19
19
20
20
[dev-dependencies ]
Original file line number Diff line number Diff line change @@ -322,7 +322,10 @@ where
322
322
{
323
323
type Error = String ;
324
324
325
- async fn from_data ( req : & ' r Request < ' _ > , data : Data ) -> data:: Outcome < Self , Self :: Error > {
325
+ async fn from_data (
326
+ req : & ' r Request < ' _ > ,
327
+ data : Data < ' r > ,
328
+ ) -> data:: Outcome < ' r , Self , Self :: Error > {
326
329
use rocket:: tokio:: io:: AsyncReadExt as _;
327
330
328
331
let content_type = req
You can’t perform that action at this time.
0 commit comments