Update to the latest version of Rocket, to use rocket_contrib::Template::custom

This commit is contained in:
Bat
2018-06-16 18:39:22 +01:00
parent 7313f60d14
commit b18aa33c70
15 changed files with 168 additions and 162 deletions
+11 -3
View File
@@ -19,11 +19,10 @@ hyper = "*"
lazy_static = "*"
openssl = "0.10.6"
reqwest = "0.8"
rocket = "*"
rocket_codegen = "*"
serde = "*"
serde_derive = "1.0"
serde_json = "1.0"
tera = "0.11"
url = "1.7"
[dependencies.chrono]
@@ -34,6 +33,15 @@ version = "0.4"
features = ["postgres", "r2d2", "chrono"]
version = "*"
[dependencies.rocket]
git = "https://github.com/SergioBenitez/Rocket"
rev = "df7111143e466c18d1f56377a8d9530a5a306aba"
[dependencies.rocket_codegen]
git = "https://github.com/SergioBenitez/Rocket"
rev = "df7111143e466c18d1f56377a8d9530a5a306aba"
[dependencies.rocket_contrib]
features = ["tera_templates", "json"]
version = "*"
git = "https://github.com/SergioBenitez/Rocket"
rev = "df7111143e466c18d1f56377a8d9530a5a306aba"