mirror of https://github.com/rwf2/Rocket.git
Fixed Cargo.toml in todo for new diesel. Serde is still broken.
This commit is contained in:
parent
c3f9e01af1
commit
b767c1bdec
|
@ -8,8 +8,8 @@ rocket = { path = "../../lib" }
|
|||
rocket_macros = { path = "../../macros" }
|
||||
lazy_static = "*"
|
||||
tera = "*"
|
||||
serde = { git = "https://github.com/serde-rs/serde" }
|
||||
serde_json = { git = "https://github.com/serde-rs/json" }
|
||||
serde_macros = { git = "https://github.com/serde-rs/serde" }
|
||||
diesel = { version = "*", features = ["sqlite"] }
|
||||
diesel_codegen = { git = "https://github.com/diesel-rs/diesel/", default_features = false, features = ["nightly", "sqlite"] }
|
||||
serde = "0.8"
|
||||
serde_json = "0.8"
|
||||
serde_macros = "0.8"
|
||||
diesel = { git = "https://github.com/diesel-rs/diesel.git", features = ["sqlite"] }
|
||||
diesel_codegen = { git = "https://github.com/diesel-rs/diesel.git", default_features = false, features = ["sqlite"] }
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
#![feature(plugin, custom_derive, custom_attribute)]
|
||||
#![plugin(rocket_macros, diesel_codegen, serde_macros)]
|
||||
#![plugin(rocket_macros, serde_macros, diesel_codegen)]
|
||||
|
||||
extern crate rocket;
|
||||
extern crate tera;
|
||||
#[macro_use] extern crate diesel;
|
||||
#[macro_use] extern crate lazy_static;
|
||||
extern crate serde_json;
|
||||
extern crate serde;
|
||||
|
||||
mod static_files;
|
||||
mod task;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
use diesel;
|
||||
use serde::Serialize;
|
||||
use diesel::prelude::*;
|
||||
use diesel::sqlite::SqliteConnection;
|
||||
use self::schema::tasks;
|
||||
|
|
Loading…
Reference in New Issue