aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama/Cargo.toml14
-rw-r--r--askama_derive/Cargo.toml2
-rw-r--r--testing/Cargo.toml4
3 files changed, 10 insertions, 10 deletions
diff --git a/askama/Cargo.toml b/askama/Cargo.toml
index 62d4fec..7e90e85 100644
--- a/askama/Cargo.toml
+++ b/askama/Cargo.toml
@@ -15,19 +15,19 @@ readme = "../README.md"
[badges]
travis-ci = { repository = "djc/askama" }
+[features]
+default = []
+serde-json = ["serde", "serde_json"]
+with-iron = ["iron", "askama_derive/iron"]
+with-rocket = ["rocket", "askama_derive/rocket"]
+
[dependencies]
askama_derive = { path = "../askama_derive", version = "0.3.4" }
error-chain = "0.10"
+iron = { version = "0.5", optional = true }
rocket = { version = "0.3", optional = true }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
-iron = { version = "0.5", optional = true }
-
-[features]
-serde-json = ["serde", "serde_json"]
-default = []
-with-iron = ["iron", "askama_derive/iron"]
-with-rocket = ["rocket", "askama_derive/rocket"]
[package.metadata.docs.rs]
features = [ "serde-json" ]
diff --git a/askama_derive/Cargo.toml b/askama_derive/Cargo.toml
index 8016b37..61263be 100644
--- a/askama_derive/Cargo.toml
+++ b/askama_derive/Cargo.toml
@@ -18,5 +18,5 @@ rocket = []
[dependencies]
nom = "3"
-syn = "0.11"
quote = "0.3"
+syn = "0.11"
diff --git a/testing/Cargo.toml b/testing/Cargo.toml
index 8db4cd5..8badd13 100644
--- a/testing/Cargo.toml
+++ b/testing/Cargo.toml
@@ -10,11 +10,11 @@ default = []
nightly = ["rocket", "rocket_codegen", "askama/with-rocket"]
[dependencies]
-iron = "0.5"
-serde_json = "1.0"
askama = { path = "../askama", version = "*", features = ["with-iron", "serde-json"] }
+iron = "0.5"
rocket = { version = "0.3", optional = true }
rocket_codegen = { version = "0.3", optional = true }
+serde_json = "1.0"
[build-dependencies]
askama = { path = "../askama", version = "*", features = ["with-iron", "serde-json"] }