#cors #middleware #iron #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

#19 in #cors

Download history 193/week @ 2024-07-28 173/week @ 2024-08-04 205/week @ 2024-08-11 198/week @ 2024-08-18 196/week @ 2024-08-25 218/week @ 2024-09-01 130/week @ 2024-09-08 147/week @ 2024-09-15 228/week @ 2024-09-22 165/week @ 2024-09-29 91/week @ 2024-10-06 159/week @ 2024-10-13 118/week @ 2024-10-20 243/week @ 2024-10-27 196/week @ 2024-11-03 127/week @ 2024-11-10

728 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

~5MB
~108K SLoC