1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 23:51:06 +01:00

prepare CORS release 0.4.0 (#107)

This commit is contained in:
Rob Ede 2020-09-27 14:29:33 +01:00 committed by GitHub
parent f185a9c7e6
commit d14e188246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 15 deletions

View File

@ -1,9 +1,13 @@
# Changes
## Unreleased - 2020-xx-xx
* Implement `allowed_origin_fn` builder method.
## 0.4.0 - 2020-09-27
* Implement `allowed_origin_fn` builder method. [#93]
* Use `TryInto` instead of `TryFrom` where applicable. [#106]
[#93]: https://github.com/actix/actix-extras/pull/93
[#106]: https://github.com/actix/actix-extras/pull/106

View File

@ -1,8 +1,8 @@
[package]
name = "actix-cors"
version = "0.3.0"
version = "0.4.0"
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"
keywords = ["actix", "cors", "web", "security", "crossorigin"]
homepage = "https://actix.rs"

View File

@ -1,17 +1,16 @@
# 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)
[![Dependency Status](https://deps.rs/crate/actix-cors/0.2.0/status.svg)](https://deps.rs/crate/actix-cors/0.2.0)
![Apache 2.0 or MIT licensed](https://img.shields.io/crates/l/actix-cors)
[![Join the chat at https://gitter.im/actix/actix](https://badges.gitter.im/actix/actix.svg)](https://gitter.im/actix/actix?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
> Cross-origin resource sharing (CORS) for Actix applications.
## Documentation & community resources
[![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)
[![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
* [User Guide](https://actix.rs/docs/)
* [API Documentation](https://docs.rs/actix-cors/)
* [Chat on gitter](https://gitter.im/actix/actix)
* Cargo package: [actix-cors](https://crates.io/crates/actix-cors)
* Minimum supported Rust version: 1.40.0 or later
* [Example Project](https://github.com/actix/examples/tree/master/web-cors)
* [Chat on Gitter](https://gitter.im/actix/actix-web)
* Minimum Supported Rust Version (MSRV): 1.42.0

View File

@ -1,4 +1,4 @@
//! Cross-Origin Resource Sharing (CORS) middleware 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