Release v0.5.0

This commit is contained in:
Yong Wen Chua 2019-05-27 08:54:49 +08:00
parent f438d5538e
commit 2827c8a02b
No known key found for this signature in database
GPG Key ID: A70BD30B21497EA9
4 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,8 @@
# CHANGELOG
## <a name="0.5.0"></a>0.5.0 (Unreleased)
## <a name="0.5.0"></a>0.5.0 (2019-05-27)
There is no change since `0.5.0-beta1`.
### Breaking Changes

View File

@ -1,6 +1,6 @@
[package]
name = "rocket_cors"
version = "0.5.0-beta-2"
version = "0.5.0"
license = "MIT/Apache-2.0"
authors = ["Yong Wen Chua <me@yongwen.xyz>"]
description = "Cross-origin resource sharing (CORS) for Rocket.rs applications"

View File

@ -30,7 +30,7 @@ work, but they are subject to the minimum that Rocket sets.
Add the following to Cargo.toml:
```toml
rocket_cors = "0.5.0-beta-2"
rocket_cors = "0.5.0"
```
To use the latest `master` branch, for example:

View File

@ -45,7 +45,7 @@ the [`CorsOptions`] struct that is described below. If you would like to disable
change your `Cargo.toml` to:
```toml
rocket_cors = { version = "0.5.0-beta-2", default-features = false }
rocket_cors = { version = "0.5.0", default-features = false }
```
## Usage
@ -1576,6 +1576,7 @@ where
///
/// The variants hold enough information to build a response to the validation result
#[derive(Debug, Eq, PartialEq)]
#[allow(variant_size_differences)]
enum ValidationResult {
/// Not a CORS request
None,