aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-11-07 20:32:25 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-11-07 21:37:07 +0100
commit460079e3477367fd8b26b1587673caa8f042e22f (patch)
tree330dda21466346eba3c0ef9c3d91800b8bcf39d0
parent93884b7fbeb6c403c166e3f956edd44421dbcf9b (diff)
downloadaskama-460079e3477367fd8b26b1587673caa8f042e22f.tar.gz
askama-460079e3477367fd8b26b1587673caa8f042e22f.tar.bz2
askama-460079e3477367fd8b26b1587673caa8f042e22f.zip
Clean up unused features
-rw-r--r--askama/Cargo.toml2
-rw-r--r--askama_derive/Cargo.toml7
-rw-r--r--askama_escape/Cargo.toml7
-rw-r--r--askama_shared/Cargo.toml7
4 files changed, 4 insertions, 19 deletions
diff --git a/askama/Cargo.toml b/askama/Cargo.toml
index 42fba31..79a8103 100644
--- a/askama/Cargo.toml
+++ b/askama/Cargo.toml
@@ -19,7 +19,7 @@ maintenance = { status = "actively-developed" }
[features]
default = []
-serde-json = ["askama_shared/serde-json"]
+serde-json = ["askama_shared/serde_json"]
with-iron = ["iron", "askama_derive/iron"]
with-rocket = ["rocket", "askama_derive/rocket"]
with-actix-web = ["actix-web", "askama_derive/actix-web", "mime_guess"]
diff --git a/askama_derive/Cargo.toml b/askama_derive/Cargo.toml
index 99fe3df..2a95a77 100644
--- a/askama_derive/Cargo.toml
+++ b/askama_derive/Cargo.toml
@@ -12,10 +12,9 @@ workspace = ".."
proc-macro = true
[features]
-default = []
-iron = ["askama_shared/iron"]
-rocket = ["askama_shared/rocket"]
-actix-web = ["askama_shared/actix-web"]
+iron = []
+rocket = []
+actix-web = []
[dependencies]
askama_shared = { version = "0.7.2", path = "../askama_shared" }
diff --git a/askama_escape/Cargo.toml b/askama_escape/Cargo.toml
index c6af27d..95ebb0d 100644
--- a/askama_escape/Cargo.toml
+++ b/askama_escape/Cargo.toml
@@ -7,10 +7,3 @@ homepage = "https://github.com/djc/askama"
repository = "https://github.com/djc/askama"
license = "MIT/Apache-2.0"
workspace = ".."
-
-[features]
-default = []
-serde-json = []
-iron = []
-rocket = []
-actix-web = []
diff --git a/askama_shared/Cargo.toml b/askama_shared/Cargo.toml
index d2499c0..4be4971 100644
--- a/askama_shared/Cargo.toml
+++ b/askama_shared/Cargo.toml
@@ -8,13 +8,6 @@ repository = "https://github.com/djc/askama"
license = "MIT/Apache-2.0"
workspace = ".."
-[features]
-default = []
-serde-json = ["serde_json"]
-iron = []
-rocket = []
-actix-web = []
-
[dependencies]
askama_escape = { version = "0.1.0", path = "../askama_escape" }
num-traits = "0.2.6"