juniper_rocket_async: bump to 0.5.0-rc.1 (#944)
This commit is contained in:
parent
ae199387fc
commit
2241da7901
2 changed files with 5 additions and 2 deletions
juniper_rocket_async
|
@ -14,7 +14,7 @@ repository = "https://github.com/graphql-rust/juniper"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
futures = "0.3.1"
|
futures = "0.3.1"
|
||||||
juniper = { version = "0.15.6", path = "../juniper", default-features = false }
|
juniper = { version = "0.15.6", path = "../juniper", default-features = false }
|
||||||
rocket = { git = "https://github.com/SergioBenitez/Rocket", branch = "master", default-features = false }
|
rocket = { version = "0.5.0-rc.1", default-features = false }
|
||||||
serde_json = "1.0.2"
|
serde_json = "1.0.2"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -322,7 +322,10 @@ where
|
||||||
{
|
{
|
||||||
type Error = String;
|
type Error = String;
|
||||||
|
|
||||||
async fn from_data(req: &'r Request<'_>, data: Data) -> data::Outcome<Self, Self::Error> {
|
async fn from_data(
|
||||||
|
req: &'r Request<'_>,
|
||||||
|
data: Data<'r>,
|
||||||
|
) -> data::Outcome<'r, Self, Self::Error> {
|
||||||
use rocket::tokio::io::AsyncReadExt as _;
|
use rocket::tokio::io::AsyncReadExt as _;
|
||||||
|
|
||||||
let content_type = req
|
let content_type = req
|
||||||
|
|
Loading…
Add table
Reference in a new issue