Rocket 0.3 is released

This commit is contained in:
Yong Wen Chua 2017-07-15 10:37:10 +08:00
parent 7dbc22b523
commit ebd75cd0ba
3 changed files with 11 additions and 23 deletions

View File

@ -16,7 +16,7 @@ travis-ci = { repository = "lawliet89/rocket_cors" }
[dependencies] [dependencies]
log = "0.3" log = "0.3"
rocket = { git = "https://github.com/SergioBenitez/Rocket", rev = "51a465f2cc88d537079133bcdfec37d029070dcd" } rocket = "0.3"
serde = "1.0" serde = "1.0"
serde_derive = "1.0" serde_derive = "1.0"
unicase="1.4" unicase="1.4"
@ -29,5 +29,5 @@ version_check = "0.1"
[dev-dependencies] [dev-dependencies]
hyper = "0.10" hyper = "0.10"
rocket_codegen = { git = "https://github.com/SergioBenitez/Rocket", rev = "51a465f2cc88d537079133bcdfec37d029070dcd" } rocket_codegen = "0.3"
serde_json = "1.0" serde_json = "1.0"

View File

@ -13,28 +13,24 @@ Cross-origin resource sharing (CORS) for [Rocket](https://rocket.rs/) applicatio
## Requirements ## Requirements
- Nightly Rust - Nightly Rust
- Rocket > 0.3 - Rocket >= 0.3
### Nightly Rust ### 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). [installation instructions](https://rocket.rs/guide/getting-started/#installing-rust).
In particular, `rocket_cors` is currently targetted for `nightly-2017-07-13`. In particular, `rocket_cors` is currently targetted for `nightly-2017-07-13`. Newer nightlies
might work, but it's not guaranteed.
### 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.
## Installation ## Installation
<!-- Add the following to Cargo.toml: <!-- Add the following to Cargo.toml:
```toml ```toml
rocket_cors = "0.0.6" rocket_cors = "0.1.0"
``` --> ``` -->
To use the latest `master` branch, for example: To use the latest `master` branch, for example:

View File

@ -20,16 +20,8 @@
//! stable. See //! stable. See
//! [installation instructions](https://rocket.rs/guide/getting-started/#installing-rust). //! [installation instructions](https://rocket.rs/guide/getting-started/#installing-rust).
//! //!
//! In particular, `rocket_cors` is currently targetted for `nightly-2017-07-13`. //! In particular, `rocket_cors` is currently targetted for `nightly-2017-07-13`. Newer nightlies
//! //! might work, but it's not guaranteed.
//! ### 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.
//! //!
//! ## Installation //! ## Installation
//! //!