#cors #iron #middleware #server

iron-cors

A CORS middleware implementation for Iron

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

#18 in #cors

Download history 227/week @ 2024-03-14 223/week @ 2024-03-21 211/week @ 2024-03-28 196/week @ 2024-04-04 193/week @ 2024-04-11 327/week @ 2024-04-18 191/week @ 2024-04-25 287/week @ 2024-05-02 266/week @ 2024-05-09 183/week @ 2024-05-16 284/week @ 2024-05-23 195/week @ 2024-05-30 216/week @ 2024-06-06 191/week @ 2024-06-13 147/week @ 2024-06-20 107/week @ 2024-06-27

693 downloads per month
Used in 3 crates

MIT/Apache

14KB
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
~112K SLoC