rocket_cors/Cargo.toml

58 lines
1.2 KiB
TOML
Raw Normal View History

2017-07-13 07:37:15 +00:00
[package]
name = "rocket_cors"
2019-05-27 00:54:49 +00:00
version = "0.5.0"
2018-07-18 06:39:28 +00:00
license = "MIT/Apache-2.0"
2017-07-13 07:37:15 +00:00
authors = ["Yong Wen Chua <me@yongwen.xyz>"]
description = "Cross-origin resource sharing (CORS) for Rocket.rs applications"
homepage = "https://github.com/lawliet89/rocket_cors"
repository = "https://github.com/lawliet89/rocket_cors"
documentation = "https://docs.rs/rocket_cors/"
2017-07-13 07:37:15 +00:00
keywords = ["rocket", "cors"]
categories = ["web-programming"]
edition = "2018"
2017-07-13 07:37:15 +00:00
[badges]
travis-ci = { repository = "lawliet89/rocket_cors" }
[features]
default = ["serialization"]
# Serialization and deserialization support for settings
serialization = ["serde", "serde_derive", "unicase_serde"]
2017-07-13 07:37:15 +00:00
[dependencies]
regex = "1.1"
rocket = "0.4.0"
2017-07-13 07:37:15 +00:00
log = "0.3"
unicase = "2.0"
2018-12-19 00:35:08 +00:00
url = "1.7.2"
# Optional dependencies that are activated by the various features
serde = { version = "1.0", optional = true }
serde_derive = { version = "1.0", optional = true }
unicase_serde = { version = "0.1.0", optional = true }
2017-07-13 07:37:15 +00:00
[dev-dependencies]
hyper = "0.10"
serde_json = "1.0"
serde_test = "1.0"
[[example]]
name = "fairing"
[[example]]
name = "guard"
[[example]]
name = "json"
required-features = ["serialization"]
[[example]]
name = "manual"
[[example]]
name = "mix"
[package.metadata.docs.rs]
all-features = true