Rocket/contrib/Cargo.toml

42 lines
1.2 KiB
TOML
Raw Normal View History

[package]
name = "rocket_contrib"
2017-12-18 14:59:44 +00:00
version = "0.3.5"
authors = ["Sergio Benitez <sb@sergio.bz>"]
description = "Community contributed libraries for the Rocket web framework."
documentation = "https://api.rocket.rs/rocket_contrib/"
homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket"
readme = "../README.md"
keywords = ["rocket", "web", "framework", "contrib", "contributed"]
license = "MIT/Apache-2.0"
[features]
default = ["json"]
json = ["serde", "serde_json"]
2017-02-08 03:40:14 +00:00
msgpack = ["serde", "rmp-serde"]
tera_templates = ["tera", "templates"]
handlebars_templates = ["handlebars", "templates"]
# Internal use only.
templates = ["serde", "serde_json", "glob"]
[dependencies]
2017-12-18 14:59:44 +00:00
rocket = { version = "0.3.5", path = "../lib/" }
log = "^0.3"
2017-01-10 21:33:30 +00:00
# UUID dependencies.
2017-05-03 16:03:25 +00:00
uuid = { version = "^0.5", optional = true }
2017-01-10 21:33:30 +00:00
2017-02-08 03:40:14 +00:00
# Serialization and templating dependencies.
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
rmp-serde = { version = "^0.13", optional = true }
# Templating dependencies only.
handlebars = { version = "^0.27", optional = true }
glob = { version = "^0.2", optional = true }
tera = { version = "^0.10", optional = true }
2017-06-30 09:41:00 +00:00
[package.metadata.docs.rs]
all-features = true