From d17b39253875f3f8a670ee9dc16a34c1c240bcb0 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Mon, 28 May 2018 17:20:39 +0200 Subject: [PATCH] Use diesel <= 1.2 while nightly issues persist. --- examples/todo/Cargo.toml | 2 +- site/guide/state.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/todo/Cargo.toml b/examples/todo/Cargo.toml index 79f97a92..8815abfb 100644 --- a/examples/todo/Cargo.toml +++ b/examples/todo/Cargo.toml @@ -9,7 +9,7 @@ rocket_codegen = { path = "../../codegen" } serde = "1.0" serde_json = "1.0" serde_derive = "1.0" -diesel = { version = "1.1", features = ["sqlite", "r2d2"] } +diesel = { version = "<= 1.2", features = ["sqlite", "r2d2"] } [dev-dependencies] parking_lot = {version = "0.5", features = ["nightly"]} diff --git a/site/guide/state.md b/site/guide/state.md index cfb4de77..eed877e6 100644 --- a/site/guide/state.md +++ b/site/guide/state.md @@ -179,7 +179,7 @@ use the following dependencies: [dependencies] rocket = "0.4.0-dev" rocket_codegen = "0.4.0-dev" -diesel = { version = "1.1", features = ["sqlite", "r2d2"] } +diesel = { version = "<= 1.2", features = ["sqlite", "r2d2"] } ``` Your `diesel` dependency information may differ. The crates are imported as