rocket_cors

Crates.iorocket_cors
lib.rsrocket_cors
version0.6.0
sourcesrc
created_at2017-07-17 08:32:40.583451
updated_at2023-11-18 08:11:42.572441
descriptionCross-origin resource sharing (CORS) for Rocket.rs applications
homepagehttps://github.com/lawliet89/rocket_cors
repositoryhttps://github.com/lawliet89/rocket_cors
max_upload_size
id23732
size245,560
Yong Wen Chua (lawliet89)

documentation

https://docs.rs/rocket_cors/

README

rocket_cors

Continuous integration Repository Crates.io

Cross-origin resource sharing (CORS) for Rocket applications

Requirements

  • Rocket >= 0.4

If you are using Rocket 0.3, use the 0.3.0 version of this crate.

Installation

Add the following to Cargo.toml:

rocket_cors = "0.6.0"

To use the latest master branch, for example:

rocket_cors = { git = "https://github.com/lawliet89/rocket_cors", branch = "master" }

Reference

License

rocket_cors is licensed under either of the following, at your option:

Commit count: 128

cargo fmt