Rocket JSON isn't contrib anymore. Duh.

This commit is contained in:
Alex Wright 2021-07-11 15:30:55 +00:00
parent 9cca533a8c
commit b8b8533f18
3 changed files with 4 additions and 8 deletions

View File

@ -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
[dependencies.rocket]
version = "0.5.0-rc.1"
features = ["json"]

View File

@ -1,5 +1,3 @@
extern crate rocket;
use rocket::Rocket;
use model::Database;

View File

@ -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,