summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Korber <philippkorber@gmail.com>2018-05-31 17:32:22 +0200
committerPhilipp Korber <philippkorber@gmail.com>2018-05-31 17:32:22 +0200
commitcbfeaab1dd52565236d44bc92c389310db4c41e9 (patch)
tree9d16a227002ae65a0eee759edd3fb7b928936b19
parente8b0500ea655e2a7080ad54655e30d80894093e8 (diff)
refactor(askama): rename feature `askama_engine` => `askama-engine`
-rw-r--r--Cargo.toml2
-rw-r--r--src/lib.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 004196a..a3e16fd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -42,4 +42,4 @@ regex = "0.2.6"
[features]
default = []
-askama_engine = ["askama"] \ No newline at end of file
+askama-engine = ["askama"] \ No newline at end of file
diff --git a/src/lib.rs b/src/lib.rs
index 3fb2191..c0c1cd5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -16,7 +16,7 @@ extern crate chrono;
#[macro_use]
extern crate vec1;
-#[cfg(feature="askama_engine")]
+#[cfg(feature="askama-engine")]
#[cfg_attr(test, macro_use)]
extern crate askama;
@@ -34,7 +34,7 @@ mod template_engine;
mod builder_extension;
mod compositor;
-#[cfg(feature="askama_engine")]
+#[cfg(feature="askama-engine")]
pub mod askama_engine;
// re-exports flatten crate