diff --git a/actix-cors/CHANGES.md b/actix-cors/CHANGES.md index 277e24331..ad651ed70 100644 --- a/actix-cors/CHANGES.md +++ b/actix-cors/CHANGES.md @@ -1,7 +1,12 @@ # Changes ## Unreleased - 2020-xx-xx -* Improve `allowed_origin_fn` to allow using of closures. [#110] + + +## 0.4.1 - 2020-10-07 +* Allow closures to be used with `allowed_origin_fn`. [#110] + +[#110]: https://github.com/actix/actix-extras/pull/110 ## 0.4.0 - 2020-09-27 @@ -10,7 +15,7 @@ [#93]: https://github.com/actix/actix-extras/pull/93 [#106]: https://github.com/actix/actix-extras/pull/106 -[#110]: https://github.com/actix/actix-extras/pull/110 + ## 0.3.0 - 2020-09-11 * Update `actix-web` dependency to 3.0.0. diff --git a/actix-cors/Cargo.toml b/actix-cors/Cargo.toml index d78eeec1e..e0811b531 100644 --- a/actix-cors/Cargo.toml +++ b/actix-cors/Cargo.toml @@ -2,7 +2,7 @@ name = "actix-cors" version = "0.4.0" authors = ["Nikolay Kim "] -description = "Cross-Origin Resource Sharing (CORS) controls for Actix web" +description = "Cross-Origin Resource Sharing (CORS) controls for Actix Web" readme = "README.md" keywords = ["actix", "cors", "web", "security", "crossorigin"] homepage = "https://actix.rs" diff --git a/actix-cors/README.md b/actix-cors/README.md index 8dec8ef22..5d3943845 100644 --- a/actix-cors/README.md +++ b/actix-cors/README.md @@ -1,11 +1,11 @@ # actix-cors -> Cross-origin resource sharing (CORS) for Actix applications. +> Cross-origin resource sharing (CORS) for Actix Web. [![crates.io](https://img.shields.io/crates/v/actix-cors)](https://crates.io/crates/actix-cors) [![Documentation](https://docs.rs/actix-cors/badge.svg)](https://docs.rs/actix-cors) -[![Dependency Status](https://deps.rs/crate/actix-cors/0.4.0/status.svg)](https://deps.rs/crate/actix-cors/0.4.0) ![Apache 2.0 or MIT licensed](https://img.shields.io/crates/l/actix-cors) +[![Dependency Status](https://deps.rs/crate/actix-cors/0.4.1/status.svg)](https://deps.rs/crate/actix-cors/0.4.1) [![Join the chat at https://gitter.im/actix/actix-web](https://badges.gitter.im/actix/actix-web.svg)](https://gitter.im/actix/actix-web?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) ## Documentation & Resources diff --git a/actix-cors/src/lib.rs b/actix-cors/src/lib.rs index 726fba607..70308a775 100644 --- a/actix-cors/src/lib.rs +++ b/actix-cors/src/lib.rs @@ -1,4 +1,4 @@ -//! Cross-Origin Resource Sharing (CORS) controls for Actix web. +//! Cross-Origin Resource Sharing (CORS) controls for Actix Web. //! //! This middleware can be applied to both applications and resources. //! Once built, [`CorsFactory`](struct.CorsFactory.html) can be used as a