Rocket JSON isn't contrib anymore. Duh.
This commit is contained in:
parent
9cca533a8c
commit
b8b8533f18
|
@ -8,11 +8,9 @@ edition = "2018"
|
|||
[dependencies]
|
||||
juniper_rocket = "0.8.0"
|
||||
juniper = "0.15.7"
|
||||
rocket = "0.5.0-rc.1"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
|
||||
[dependencies.rocket_contrib]
|
||||
version = "0.4.10"
|
||||
default-features = false
|
||||
features = ["json"]
|
||||
[dependencies.rocket]
|
||||
version = "0.5.0-rc.1"
|
||||
features = ["json"]
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
extern crate rocket;
|
||||
|
||||
use rocket::Rocket;
|
||||
use model::Database;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use rocket::fairing::AdHoc;
|
||||
use rocket::serde::json::Json;
|
||||
use rocket::State;
|
||||
use rocket_contrib::json::Json;
|
||||
use crate::model::{
|
||||
Database,
|
||||
Person,
|
||||
|
|
Loading…
Reference in New Issue