Skip to content

Commit

Permalink
Release v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lawliet89 committed May 27, 2019
1 parent f438d55 commit 2827c8a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
description = "Cross-origin resource sharing (CORS) for Rocket.rs applications"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 2827c8a

Please sign in to comment.