# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.69" name = "rocket_cors" version = "0.6.0" authors = ["Yong Wen Chua "] description = "Cross-origin resource sharing (CORS) for Rocket.rs applications" homepage = "https://github.com/lawliet89/rocket_cors" documentation = "https://docs.rs/rocket_cors/" readme = "README.md" keywords = [ "rocket", "cors", ] categories = ["web-programming"] license = "MIT/Apache-2.0" repository = "https://github.com/lawliet89/rocket_cors" [package.metadata.docs.rs] all-features = true [[example]] name = "fairing" [[example]] name = "guard" [[example]] name = "json" required-features = ["serialization"] [[example]] name = "manual" [[example]] name = "mix" [dependencies.http] version = "0.2" [dependencies.log] version = "0.4" [dependencies.regex] version = "1.7.2" [dependencies.rocket] version = "0.5.0" default-features = false [dependencies.serde] version = "1.0" optional = true [dependencies.serde_derive] version = "1.0" optional = true [dependencies.unicase] version = "2.6" [dependencies.unicase_serde] version = "0.1.0" optional = true [dependencies.url] version = "2.3.1" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.serde_test] version = "1.0" [features] default = ["serialization"] serialization = [ "serde", "serde_derive", "unicase_serde", ]