mirror of https://github.com/rwf2/Rocket.git
Use ansi_term::Color, not Colour.
This commit is contained in:
parent
a4f532da09
commit
393225cedf
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue