Bump rocket

This commit is contained in:
Sunli 2021-01-14 12:01:26 +08:00
parent 4a4e4e7219
commit 7b7befa82c
2 changed files with 4 additions and 5 deletions

View File

@ -16,7 +16,7 @@ categories = ["network-programming", "asynchronous"]
[dependencies]
async-graphql = { path = "../..", version = "=2.4.8" }
rocket = { git = "https://github.com/SergioBenitez/Rocket/", rev = "0c150c2", default-features = false } # TODO: Change to Cargo crate when Rocket 0.5.0 is released
rocket = { git = "https://github.com/SergioBenitez/Rocket/", rev = "48fd83a", default-features = false } # TODO: Change to Cargo crate when Rocket 0.5.0 is released
serde = "1.0.117"
serde_json = "1.0.59"
tokio-util = { version = "0.3.1", default-features = false, features = ["compat"] }
tokio-util = { version = "0.6.1", default-features = false, features = ["compat"] }

View File

@ -15,6 +15,7 @@ use std::io::Cursor;
use async_graphql::http::MultipartOptions;
use async_graphql::{ObjectType, ParseRequestError, Schema, SubscriptionType};
use query_deserializer::QueryDeserializer;
use rocket::{
data::{self, Data, FromData, ToByteUnit},
http::{ContentType, Header, Status},
@ -22,9 +23,7 @@ use rocket::{
response::{self, Responder},
};
use serde::de::Deserialize;
use tokio_util::compat::Tokio02AsyncReadCompatExt;
use query_deserializer::QueryDeserializer;
use tokio_util::compat::TokioAsyncReadCompatExt;
mod query_deserializer;