diff options
author | 2020-01-28 22:17:22 +0100 | |
---|---|---|
committer | 2020-01-29 09:25:59 +0100 | |
commit | 75f32d3967e4d13b86b0d720ebc808c6fd9caa05 (patch) | |
tree | b919cd2796220c74b1d6fd69b363c53505681f3a /testing | |
parent | c6f9a053c7328e6c782508114bd96aa569b5de7d (diff) | |
download | askama-75f32d3967e4d13b86b0d720ebc808c6fd9caa05.tar.gz askama-75f32d3967e4d13b86b0d720ebc808c6fd9caa05.tar.bz2 askama-75f32d3967e4d13b86b0d720ebc808c6fd9caa05.zip |
Move Gotham integration into separate askama_gotham crate
Diffstat (limited to '')
-rw-r--r-- | askama_gotham/tests/basic.rs (renamed from testing/tests/gotham.rs) | 2 | ||||
-rw-r--r-- | testing/Cargo.toml | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/testing/tests/gotham.rs b/askama_gotham/tests/basic.rs index 225a0ef..fbb61a0 100644 --- a/testing/tests/gotham.rs +++ b/askama_gotham/tests/basic.rs @@ -1,5 +1,3 @@ -#![cfg(feature = "with-gotham")] - use askama::Template; use gotham::state::State; use gotham::test::TestServer; diff --git a/testing/Cargo.toml b/testing/Cargo.toml index 424dd73..5517047 100644 --- a/testing/Cargo.toml +++ b/testing/Cargo.toml @@ -7,18 +7,14 @@ edition = "2018" [features] default = [] -full = ["with-iron", "serde-json", "with-gotham"] +full = ["with-iron", "serde-json"] serde-json = ["serde_json", "askama/serde-json"] with-iron = ["iron", "askama/with-iron"] -with-gotham = ["gotham", "askama/with-gotham", "mime", "hyper"] [dependencies] askama = { path = "../askama", version = "*" } iron = { version = "0.6", optional = true } serde_json = { version = "1.0", optional = true } -gotham = { version = "0.3", default-features = false, optional = true } -mime = { version = "0.3", optional = true } -hyper = { version = "0.12", optional = true } [dev-dependencies] criterion = "0.3" |