diff --git a/Cargo.toml b/Cargo.toml index 362c11b..7a38136 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ travis-ci = { repository = "lawliet89/rocket_cors" } [dependencies] log = "0.3" -rocket = { git = "https://github.com/SergioBenitez/Rocket", rev = "51a465f2cc88d537079133bcdfec37d029070dcd" } +rocket = "0.3" serde = "1.0" serde_derive = "1.0" unicase="1.4" @@ -29,5 +29,5 @@ version_check = "0.1" [dev-dependencies] hyper = "0.10" -rocket_codegen = { git = "https://github.com/SergioBenitez/Rocket", rev = "51a465f2cc88d537079133bcdfec37d029070dcd" } +rocket_codegen = "0.3" serde_json = "1.0" diff --git a/README.md b/README.md index 425e6ac..b666355 100644 --- a/README.md +++ b/README.md @@ -13,28 +13,24 @@ Cross-origin resource sharing (CORS) for [Rocket](https://rocket.rs/) applicatio ## Requirements - Nightly Rust -- Rocket > 0.3 +- Rocket >= 0.3 ### Nightly Rust -Rocket requires nightly Rust. You should probably install Rust with [rustup](https://www.rustup.rs/), then override the code directory to use nightly instead of stable. See +Rocket requires nightly Rust. You should probably install Rust with +[rustup](https://www.rustup.rs/), then override the code directory to use nightly instead of stable. +See [installation instructions](https://rocket.rs/guide/getting-started/#installing-rust). -In particular, `rocket_cors` is currently targetted for `nightly-2017-07-13`. - -### Rocket > 0.3 - -Rocket > 0.3 is needed. At this moment, `0.3` is not released, and this crate will not be published -to Crates.io until Rocket 0.3 is released to Crates.io. - -We currently tie this crate to revision [51a465f2cc88d537079133bcdfec37d029070dcd](https://github.com/SergioBenitez/Rocket/tree/51a465f2cc88d537079133bcdfec37d029070dcd) of Rocket. +In particular, `rocket_cors` is currently targetted for `nightly-2017-07-13`. Newer nightlies +might work, but it's not guaranteed. ## Installation To use the latest `master` branch, for example: diff --git a/src/lib.rs b/src/lib.rs index c227ec5..bb428b5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,16 +20,8 @@ //! stable. See //! [installation instructions](https://rocket.rs/guide/getting-started/#installing-rust). //! -//! In particular, `rocket_cors` is currently targetted for `nightly-2017-07-13`. -//! -//! ### Rocket > 0.3 -//! -//! Rocket > 0.3 is needed. At this moment, `0.3` is not released, and this crate will not be -//! published -//! to Crates.io until Rocket 0.3 is released to Crates.io. -//! -//! We currently tie this crate to revision -//! [51a465f2cc88d537079133bcdfec37d029070dcd](https://github.com/SergioBenitez/Rocket/tree/51a465f2cc88d537079133bcdfec37d029070dcd) of Rocket. +//! In particular, `rocket_cors` is currently targetted for `nightly-2017-07-13`. Newer nightlies +//! might work, but it's not guaranteed. //! //! ## Installation //!