diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index 2135faad..6f97d944 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -22,5 +22,5 @@ log = "^0.3" compiletest_rs = "^0.2" [build-dependencies] -ansi_term = "^0.9" -version_check = "^0.1" +ansi_term = "0.9" +version_check = "0.1" diff --git a/codegen/build.rs b/codegen/build.rs index b3a21eaf..9d0d887c 100644 --- a/codegen/build.rs +++ b/codegen/build.rs @@ -4,7 +4,7 @@ extern crate ansi_term; extern crate version_check; -use ansi_term::Colour::{Red, Yellow, Blue, White}; +use ansi_term::Color::{Red, Yellow, Blue, White}; use version_check::{is_nightly, is_min_version, is_min_date}; // Specifies the minimum nightly version needed to compile Rocket's codegen. diff --git a/examples/todo/bootstrap.sh b/examples/todo/bootstrap.sh index f6be9914..661d0851 100755 --- a/examples/todo/bootstrap.sh +++ b/examples/todo/bootstrap.sh @@ -6,7 +6,7 @@ DATABASE_URL=${SCRIPT_PATH}/db/db.sql pushd $SCRIPT_PATH > /dev/null # install the diesel CLI tools if they're not installed if ! command -v diesel >/dev/null 2>&1; then - cargo install diesel_cli > /dev/null + cargo install diesel_cli --no-default-features --features=sqlite > /dev/null fi # create db/db.sql diff --git a/lib/Cargo.toml b/lib/Cargo.toml index f58204ff..95360614 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -38,5 +38,5 @@ lazy_static = "0.2" rocket_codegen = { version = "0.2.2", path = "../codegen" } [build-dependencies] -ansi_term = "^0.9" +ansi_term = "0.9" version_check = "^0.1" diff --git a/lib/build.rs b/lib/build.rs index 7fa9f524..e159803a 100644 --- a/lib/build.rs +++ b/lib/build.rs @@ -4,7 +4,7 @@ extern crate ansi_term; extern crate version_check; -use ansi_term::Colour::{Red, Yellow, Blue, White}; +use ansi_term::Color::{Red, Yellow, Blue, White}; use version_check::{is_nightly, is_min_version}; // Specifies the minimum nightly version needed to compile Rocket.