2017-07-13 07:37:15 +00:00
|
|
|
[package]
|
|
|
|
name = "rocket_cors"
|
2018-02-14 07:19:51 +00:00
|
|
|
version = "0.3.0"
|
2017-07-13 07:37:15 +00:00
|
|
|
license = "Apache-2.0"
|
|
|
|
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"
|
2017-07-18 10:26:32 +00:00
|
|
|
documentation = "https://lawliet89.github.io/rocket_cors/"
|
2017-07-13 07:37:15 +00:00
|
|
|
keywords = ["rocket", "cors"]
|
|
|
|
categories = ["web-programming"]
|
|
|
|
|
|
|
|
[badges]
|
|
|
|
travis-ci = { repository = "lawliet89/rocket_cors" }
|
|
|
|
|
2017-09-05 06:11:28 +00:00
|
|
|
[features]
|
|
|
|
default = ["serialization"]
|
|
|
|
|
|
|
|
# Serialization and deserialization support for settings
|
|
|
|
serialization = ["serde", "serde_derive", "unicase_serde", "url_serde"]
|
|
|
|
|
2017-07-13 07:37:15 +00:00
|
|
|
[dependencies]
|
|
|
|
log = "0.3"
|
2018-07-16 01:36:07 +00:00
|
|
|
rocket = "0.3.14"
|
2017-07-17 08:22:45 +00:00
|
|
|
unicase = "2.0"
|
2017-07-13 07:37:15 +00:00
|
|
|
url = "1.5.1"
|
2017-09-05 06:11:28 +00:00
|
|
|
|
|
|
|
# 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 }
|
|
|
|
url_serde = { version = "0.2.0", optional = true }
|
2017-07-13 07:37:15 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
hyper = "0.10"
|
2017-07-15 02:37:10 +00:00
|
|
|
rocket_codegen = "0.3"
|
2017-07-13 07:37:15 +00:00
|
|
|
serde_json = "1.0"
|
2017-07-17 08:22:45 +00:00
|
|
|
serde_test = "1.0"
|
2017-09-05 06:11:28 +00:00
|
|
|
|
2017-09-05 06:59:51 +00:00
|
|
|
[[example]]
|
|
|
|
name = "fairing"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "guard"
|
|
|
|
|
2017-09-05 06:11:28 +00:00
|
|
|
[[example]]
|
|
|
|
name = "json"
|
|
|
|
required-features = ["serialization"]
|
|
|
|
|
2017-09-05 06:59:51 +00:00
|
|
|
[[example]]
|
|
|
|
name = "manual"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "mix"
|
|
|
|
|
2017-09-05 06:11:28 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|