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