2016-09-19 23:24:01 +00:00
|
|
|
[package]
|
|
|
|
name = "rocket_contrib"
|
2016-12-22 08:05:05 +00:00
|
|
|
version = "0.1.0-rc"
|
2016-09-19 23:24:01 +00:00
|
|
|
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["json"]
|
|
|
|
json = ["serde", "serde_json"]
|
2016-09-22 11:12:07 +00:00
|
|
|
tera_templates = ["tera", "templates"]
|
|
|
|
handlebars_templates = ["handlebars", "templates"]
|
|
|
|
|
|
|
|
# Internal use only.
|
|
|
|
templates = ["serde", "serde_json", "lazy_static_macro", "glob"]
|
|
|
|
lazy_static_macro = ["lazy_static"]
|
2016-09-19 23:24:01 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
rocket = { path = "../lib/" }
|
2016-09-30 03:49:18 +00:00
|
|
|
log = "^0.3"
|
2016-09-19 23:24:01 +00:00
|
|
|
|
2016-09-22 11:12:07 +00:00
|
|
|
# JSON and templating dependencies.
|
2016-09-30 03:49:18 +00:00
|
|
|
serde = { version = "^0.8", optional = true }
|
|
|
|
serde_json = { version = "^0.8", optional = true }
|
2016-09-22 11:12:07 +00:00
|
|
|
|
|
|
|
# Templating dependencies only.
|
2016-12-15 15:39:42 +00:00
|
|
|
handlebars = { version = "^0.23", optional = true, features = ["serde_type"] }
|
2016-09-30 03:49:18 +00:00
|
|
|
glob = { version = "^0.2", optional = true }
|
|
|
|
lazy_static = { version = "^0.2", optional = true }
|
2016-12-20 04:42:57 +00:00
|
|
|
tera = { version = "^0.5", optional = true }
|