Rocket/contrib/Cargo.toml

36 lines
1.1 KiB
TOML
Raw Normal View History

[package]
name = "rocket_contrib"
2016-12-24 22:15:00 +00:00
version = "0.1.2"
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"]
tera_templates = ["tera", "templates"]
handlebars_templates = ["handlebars", "templates"]
# Internal use only.
templates = ["serde", "serde_json", "lazy_static_macro", "glob"]
lazy_static_macro = ["lazy_static"]
[dependencies]
2016-12-24 22:15:00 +00:00
rocket = { version = "0.1.2", path = "../lib/" }
log = "^0.3"
# JSON and templating dependencies.
serde = { version = "^0.8", optional = true }
serde_json = { version = "^0.8", optional = true }
# Templating dependencies only.
handlebars = { version = "^0.23", optional = true, features = ["serde_type"] }
glob = { version = "^0.2", optional = true }
lazy_static = { version = "^0.2", optional = true }
2016-12-30 03:26:22 +00:00
tera = { version = "^0.6", optional = true }