2016-09-19 23:24:01 +00:00
|
|
|
[package]
|
|
|
|
name = "rocket_contrib"
|
2017-03-23 02:01:58 +00:00
|
|
|
version = "0.2.3"
|
2016-09-19 23:24:01 +00:00
|
|
|
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
2016-12-23 12:20:46 +00:00
|
|
|
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"
|
2016-09-19 23:24:01 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["json"]
|
|
|
|
json = ["serde", "serde_json"]
|
2017-02-08 03:40:14 +00:00
|
|
|
msgpack = ["serde", "rmp-serde"]
|
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]
|
2017-03-23 02:01:58 +00:00
|
|
|
rocket = { version = "0.2.3", path = "../lib/" }
|
2016-09-30 03:49:18 +00:00
|
|
|
log = "^0.3"
|
2016-09-19 23:24:01 +00:00
|
|
|
|
2017-01-10 21:33:30 +00:00
|
|
|
# UUID dependencies.
|
2017-02-02 22:48:55 +00:00
|
|
|
uuid = { version = "^0.4", optional = true }
|
2017-01-10 21:33:30 +00:00
|
|
|
|
2017-02-08 03:40:14 +00:00
|
|
|
# Serialization and templating dependencies.
|
2017-02-01 01:15:42 +00:00
|
|
|
serde = { version = "^0.9", optional = true }
|
|
|
|
serde_json = { version = "^0.9.3", optional = true }
|
2017-02-08 03:40:14 +00:00
|
|
|
rmp-serde = { version = "^0.12", optional = true }
|
2016-09-22 11:12:07 +00:00
|
|
|
|
|
|
|
# Templating dependencies only.
|
2017-02-01 01:15:42 +00:00
|
|
|
handlebars = { version = "^0.25", 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 }
|
2017-02-02 23:18:23 +00:00
|
|
|
tera = { version = "^0.7", optional = true }
|