aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar mash <mashedcode@users.noreply.github.com>2018-06-29 15:36:12 +0000
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-07-10 14:29:29 +0100
commit953df2b3f3afe5c4a357a4353a4c9e8657b96114 (patch)
treeec2a6faa1ca3df6509151cb35657d2260b099c4b /askama_shared/src/lib.rs
parent9d2c6115dc7e4ec2c24ce30581d3bf00f787e441 (diff)
downloadaskama-953df2b3f3afe5c4a357a4353a4c9e8657b96114.tar.gz
askama-953df2b3f3afe5c4a357a4353a4c9e8657b96114.tar.bz2
askama-953df2b3f3afe5c4a357a4353a4c9e8657b96114.zip
Add partial support for multiple template dirs
Diffstat (limited to 'askama_shared/src/lib.rs')
-rw-r--r--askama_shared/src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs
index 9427dff..64d8d25 100644
--- a/askama_shared/src/lib.rs
+++ b/askama_shared/src/lib.rs
@@ -1,9 +1,11 @@
#![cfg_attr(feature = "cargo-clippy", allow(unused_parens))]
-#[cfg(feature = "serde-json")]
extern crate serde;
+#[macro_use]
+extern crate serde_derive;
#[cfg(feature = "serde-json")]
extern crate serde_json;
+extern crate toml;
pub use error::{Error, Result};
pub use escaping::MarkupDisplay;