10 releases (breaking)

Uses old Rust 2015

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

#9 in #cors

Download history 224/week @ 2022-12-07 142/week @ 2022-12-14 157/week @ 2022-12-21 143/week @ 2022-12-28 126/week @ 2023-01-04 220/week @ 2023-01-11 266/week @ 2023-01-18 228/week @ 2023-01-25 224/week @ 2023-02-01 117/week @ 2023-02-08 256/week @ 2023-02-15 150/week @ 2023-02-22 149/week @ 2023-03-01 248/week @ 2023-03-08 173/week @ 2023-03-15 120/week @ 2023-03-22

709 downloads per month
Used in 2 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

~4.5MB
~120K SLoC