Update to todo example to diesel 0.10.

This commit is contained in:
Sergio Benitez 2017-02-02 14:47:53 -08:00
parent 58678e53fb
commit 1a18c73970
2 changed files with 2 additions and 3 deletions

View File

@ -9,8 +9,8 @@ rocket_codegen = { path = "../../codegen" }
serde = "0.9"
serde_json = "0.9"
serde_derive = "0.9"
diesel = { version = "0.9", features = ["sqlite"] }
diesel_codegen = { version = "0.9", features = ["sqlite"] }
diesel = { version = "0.10", features = ["sqlite"] }
diesel_codegen = { version = "0.10", features = ["sqlite"] }
[dependencies.rocket_contrib]
path = "../../contrib"

View File

@ -6,7 +6,6 @@ use self::schema::tasks::dsl::{tasks as all_tasks, completed as task_completed};
const DATABASE_FILE: &'static str = env!("DATABASE_URL");
#[allow(dead_code)]
mod schema {
infer_schema!("env:DATABASE_URL");
}