# CORS Middleware for Iron [![Travis CI][travis-ci-badge]][travis-ci] [![Crates.io][crates-io-badge]][crates-io] [![Rust][rust-badge]][github] A CORS Middleware for [Iron](http://ironframework.io/) 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 * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) at your option. ### 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. [travis-ci]: https://travis-ci.org/dbrgn/iron-cors-rs [travis-ci-badge]: https://img.shields.io/travis/dbrgn/iron-cors-rs.svg [crates-io]: https://crates.io/crates/iron-cors [crates-io-badge]: https://img.shields.io/crates/v/iron-cors.svg [github]: https://github.com/dbrgn/iron-cors-rs [rust-badge]: https://img.shields.io/badge/rust-1.21%2B-blue.svg?maxAge=3600