#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

#19 in #cors

Download history 106/week @ 2024-11-17 150/week @ 2024-11-24 107/week @ 2024-12-01 210/week @ 2024-12-08 198/week @ 2024-12-15 99/week @ 2024-12-22 68/week @ 2024-12-29 147/week @ 2025-01-05 196/week @ 2025-01-12 175/week @ 2025-01-19 103/week @ 2025-01-26 248/week @ 2025-02-02 236/week @ 2025-02-09 157/week @ 2025-02-16 323/week @ 2025-02-23 191/week @ 2025-03-02

944 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
~110K SLoC