#iron #cors #hyper #travis-ci #crates-io

archived 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

#9 in #cors

Download history 224/week @ 2023-10-29 262/week @ 2023-11-05 154/week @ 2023-11-12 223/week @ 2023-11-19 203/week @ 2023-11-26 222/week @ 2023-12-03 219/week @ 2023-12-10 199/week @ 2023-12-17 174/week @ 2023-12-24 129/week @ 2023-12-31 208/week @ 2024-01-07 345/week @ 2024-01-14 268/week @ 2024-01-21 155/week @ 2024-01-28 175/week @ 2024-02-04 225/week @ 2024-02-11

849 downloads per month
Used in 2 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
~124K SLoC