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"
1414[dependencies ]
1515futures = " 0.3.1"
1616juniper = { 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 }
1818serde_json = " 1.0.2"
1919
2020[dev-dependencies ]
Original file line number Diff line number Diff line change @@ -322,7 +322,10 @@ where
322322{
323323 type Error = String ;
324324
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 > {
326329 use rocket:: tokio:: io:: AsyncReadExt as _;
327330
328331 let content_type = req
You can’t perform that action at this time.
0 commit comments