Skip to content

Commit 30df29e

Browse files
lawliet89v1olen
authored andcommitted
Release v0.5.0
1 parent 67159a5 commit 30df29e

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# CHANGELOG
22

3-
## <a name="0.5.0"></a>0.5.0 (Unreleased)
3+
## <a name="0.5.0"></a>0.5.0 (2019-05-27)
4+
5+
There is no change since `0.5.0-beta1`.
46

57
### Breaking Changes
68

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rocket_cors"
3-
version = "0.5.0-beta-2"
3+
version = "0.5.0"
44
license = "MIT/Apache-2.0"
55
authors = ["Yong Wen Chua <[email protected]>"]
66
description = "Cross-origin resource sharing (CORS) for Rocket.rs applications"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ work, but they are subject to the minimum that Rocket sets.
3030
Add the following to Cargo.toml:
3131

3232
```toml
33-
rocket_cors = "0.5.0-beta-2"
33+
rocket_cors = "0.5.0"
3434
```
3535

3636
To use the latest `master` branch, for example:

src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ the [`CorsOptions`] struct that is described below. If you would like to disable
4545
change your `Cargo.toml` to:
4646
4747
```toml
48-
rocket_cors = { version = "0.5.0-beta-2", default-features = false }
48+
rocket_cors = { version = "0.5.0", default-features = false }
4949
```
5050
5151
## Usage
@@ -1576,6 +1576,7 @@ where
15761576
///
15771577
/// The variants hold enough information to build a response to the validation result
15781578
#[derive(Debug, Eq, PartialEq)]
1579+
#[allow(variant_size_differences)]
15791580
enum ValidationResult {
15801581
/// Not a CORS request
15811582
None,

0 commit comments

Comments
 (0)