From 3db069c60d5696efc3d8772e07fec65d876b45e2 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 8 Apr 2018 17:30:03 +0200 Subject: feat(main): Add support for Tera templates Sets up the structure required to carry Tera templates in the actix-web state. The (still very barebones) index renderer has been updated to render a Tera template. --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index ecc2fc606f50..76dccad89b00 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,10 @@ actix = "0.5" actix-web = { git="https://github.com/actix/actix-web.git" } env_logger = "0.5" diesel = { version = "1.2", features = ["postgres", "chrono", "r2d2"]} -chrono = "0.4" +chrono = { version = "0.4", features = ["serde"] } log = "0.4" r2d2 = "*" futures = "*" tera = "0.11" +serde = "1.0" +serde_derive = "1.0" -- cgit 1.4.1