aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-08-24 20:16:39 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-08-24 20:16:39 +0200
commite530ec879a53015343489c16ab7d2f93eee70b5f (patch)
tree31ec2cc1cf72bb1d80ab31b56c364ce743ede2e3
parente0300661068f3c8141cdc90fa915f7c61ce3d1ab (diff)
downloadaskama-e530ec879a53015343489c16ab7d2f93eee70b5f.tar.gz
askama-e530ec879a53015343489c16ab7d2f93eee70b5f.tar.bz2
askama-e530ec879a53015343489c16ab7d2f93eee70b5f.zip
Clean up order in Cargo manifests
-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"] }