diff --git a/.travis.yml b/.travis.yml index 6feaf39..2c7fa11 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ sudo: false language: rust rust: -- nightly-2017-09-26 +- nightly-2017-12-18 env: global: - TRAVIS_CARGO_NIGHTLY_FEATURE="" @@ -23,6 +23,6 @@ script: - | travis-cargo build -- "${CARGO_FLAGS}" && travis-cargo test -- "${CARGO_FLAGS}" && - travis-cargo --only nightly-2017-09-26 doc -- --no-deps "${CARGO_FLAGS}" + travis-cargo --only nightly-2017-12-18 doc -- --no-deps "${CARGO_FLAGS}" after_success: -- test $CARGO_FLAGS = "--all-features" && travis-cargo --only nightly-2017-09-26 doc-upload +- test $CARGO_FLAGS = "--all-features" && travis-cargo --only nightly-2017-12-18 doc-upload diff --git a/README.md b/README.md index 3b1d2d3..d270326 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Rocket requires nightly Rust. You should probably install Rust with See [installation instructions](https://rocket.rs/guide/getting-started/#installing-rust). -In particular, `rocket_cors` is currently targetted for `nightly-2017-09-26`. Newer nightlies +In particular, `rocket_cors` is currently targetted for `nightly-2017-12-18`. Newer nightlies might work, but it's not guaranteed. ## Installation diff --git a/build.rs b/build.rs index cac0084..81469cf 100644 --- a/build.rs +++ b/build.rs @@ -11,8 +11,8 @@ use version_check::{is_nightly, is_min_version, is_min_date}; // Specifies the minimum nightly version that is targetted // Note that sometimes the `rustc` date might be older than the nightly version, // usually one day older -const MIN_DATE: &'static str = "2017-09-25"; -const MIN_VERSION: &'static str = "1.22.0-nightly"; +const MIN_DATE: &'static str = "2017-12-17"; +const MIN_VERSION: &'static str = "1.24.0-nightly"; // Convenience macro for writing to stderr. macro_rules! printerr { diff --git a/rust-toolchain b/rust-toolchain index 88b515d..dac456d 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2017-09-26 +nightly-2017-12-18