#iron #cors #middleware

iron-cors

A CORS middleware implementation for Iron

10 releases (breaking)

0.8.0 Jun 14, 2018
0.7.0 Jan 5, 2018
0.6.0-rc.1 Aug 29, 2017
0.5.1 Mar 22, 2017
Download history 181/week @ 2019-11-23 151/week @ 2019-11-30 237/week @ 2019-12-07 167/week @ 2019-12-14 27/week @ 2019-12-21 63/week @ 2019-12-28 37/week @ 2020-01-04 310/week @ 2020-01-11 158/week @ 2020-01-18 124/week @ 2020-01-25 88/week @ 2020-02-01 174/week @ 2020-02-08 79/week @ 2020-02-15 135/week @ 2020-02-22 130/week @ 2020-02-29 149/week @ 2020-03-07

825 downloads per month
Used in 3 crates

MIT/Apache

13KB
154 lines

CORS Middleware for Iron

Travis CI Crates.io Rust

A CORS Middleware for Iron with preflight support.

See https://www.html5rocks.com/static/images/cors_server_flowchart.png for reference.

Docs: https://docs.rs/iron-cors/

This library requires Rust 1.21+.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~3.5MB
~80K SLoC