1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-27 17:22:57 +01:00

prepare cors release 0.4.1

This commit is contained in:
Rob Ede 2020-10-07 11:32:27 +01:00
parent b33012999c
commit d02e508731
No known key found for this signature in database
GPG Key ID: C2A3B36E841A91E6
4 changed files with 11 additions and 6 deletions

View File

@ -1,7 +1,12 @@
# Changes # Changes
## Unreleased - 2020-xx-xx ## 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 ## 0.4.0 - 2020-09-27
@ -10,7 +15,7 @@
[#93]: https://github.com/actix/actix-extras/pull/93 [#93]: https://github.com/actix/actix-extras/pull/93
[#106]: https://github.com/actix/actix-extras/pull/106 [#106]: https://github.com/actix/actix-extras/pull/106
[#110]: https://github.com/actix/actix-extras/pull/110
## 0.3.0 - 2020-09-11 ## 0.3.0 - 2020-09-11
* Update `actix-web` dependency to 3.0.0. * Update `actix-web` dependency to 3.0.0.

View File

@ -2,7 +2,7 @@
name = "actix-cors" name = "actix-cors"
version = "0.4.0" version = "0.4.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Cross-Origin Resource Sharing (CORS) controls for Actix web" description = "Cross-Origin Resource Sharing (CORS) controls for Actix Web"
readme = "README.md" readme = "README.md"
keywords = ["actix", "cors", "web", "security", "crossorigin"] keywords = ["actix", "cors", "web", "security", "crossorigin"]
homepage = "https://actix.rs" homepage = "https://actix.rs"

View File

@ -1,11 +1,11 @@
# actix-cors # 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) [![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) [![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) ![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) [![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 ## Documentation & Resources

View File

@ -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. //! This middleware can be applied to both applications and resources.
//! Once built, [`CorsFactory`](struct.CorsFactory.html) can be used as a //! Once built, [`CorsFactory`](struct.CorsFactory.html) can be used as a