aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Randati <anttivan@gmail.com>2020-12-21 14:18:13 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-12-21 14:32:47 +0100
commitb85b3463c3b023f9b342c0bc7c16ac1529879305 (patch)
tree74f08bd944c41166c8104bcfb37a6e6dc28fca1a
parent61912c55859bb3defa74bd2872798f89af5f4678 (diff)
downloadaskama-b85b3463c3b023f9b342c0bc7c16ac1529879305.tar.gz
askama-b85b3463c3b023f9b342c0bc7c16ac1529879305.tar.bz2
askama-b85b3463c3b023f9b342c0bc7c16ac1529879305.zip
Disable askama's default features in web framework crates
Without disabling these default features, askama's default features get automatically enabled when web framework specific crates are included in the project.
-rw-r--r--askama_actix/Cargo.toml2
-rw-r--r--askama_gotham/Cargo.toml2
-rw-r--r--askama_iron/Cargo.toml2
-rw-r--r--askama_rocket/Cargo.toml2
-rw-r--r--askama_tide/Cargo.toml2
-rw-r--r--askama_warp/Cargo.toml2
6 files changed, 6 insertions, 6 deletions
diff --git a/askama_actix/Cargo.toml b/askama_actix/Cargo.toml
index 8c86e34..0d5a836 100644
--- a/askama_actix/Cargo.toml
+++ b/askama_actix/Cargo.toml
@@ -15,7 +15,7 @@ edition = "2018"
[dependencies]
actix-web = { version = "3", default-features = false }
-askama = { version = "0.10", path = "../askama", features = ["with-actix-web", "mime", "mime_guess"] }
+askama = { version = "0.10", path = "../askama", default-features = false, features = ["with-actix-web", "mime", "mime_guess"] }
bytes = { version = "0.5" }
futures-util = { version = "0.3" }
diff --git a/askama_gotham/Cargo.toml b/askama_gotham/Cargo.toml
index b9bee10..6365f2e 100644
--- a/askama_gotham/Cargo.toml
+++ b/askama_gotham/Cargo.toml
@@ -14,7 +14,7 @@ readme = "README.md"
edition = "2018"
[dependencies]
-askama = { version = "0.10", path = "../askama", features = ["with-gotham", "mime", "mime_guess"] }
+askama = { version = "0.10", path = "../askama", default-features = false, features = ["with-gotham", "mime", "mime_guess"] }
gotham = { version = "0.5", default-features = false }
hyper = "0.13"
diff --git a/askama_iron/Cargo.toml b/askama_iron/Cargo.toml
index bebec36..8fd124b 100644
--- a/askama_iron/Cargo.toml
+++ b/askama_iron/Cargo.toml
@@ -14,5 +14,5 @@ readme = "README.md"
edition = "2018"
[dependencies]
-askama = { version = "0.10", path = "../askama", features = ["with-iron"] }
+askama = { version = "0.10", path = "../askama", default-features = false, features = ["with-iron"] }
iron = { version = ">= 0.5, < 0.7" }
diff --git a/askama_rocket/Cargo.toml b/askama_rocket/Cargo.toml
index 4919694..bc91cfb 100644
--- a/askama_rocket/Cargo.toml
+++ b/askama_rocket/Cargo.toml
@@ -14,5 +14,5 @@ readme = "README.md"
edition = "2018"
[dependencies]
-askama = { version = "0.10", path = "../askama", features = ["with-rocket", "mime", "mime_guess"] }
+askama = { version = "0.10", path = "../askama", default-features = false, features = ["with-rocket", "mime", "mime_guess"] }
rocket = { version = "0.4", default-features = false }
diff --git a/askama_tide/Cargo.toml b/askama_tide/Cargo.toml
index 2a5084b..6fdae4a 100644
--- a/askama_tide/Cargo.toml
+++ b/askama_tide/Cargo.toml
@@ -13,7 +13,7 @@ workspace = ".."
readme = "README.md"
[dependencies]
-askama = { version = "0.10.2", path = "../askama", features = ["with-tide"] }
+askama = { version = "0.10.2", path = "../askama", default-features = false, features = ["with-tide"] }
tide = { version = "0.15", default-features = false }
[dev-dependencies]
diff --git a/askama_warp/Cargo.toml b/askama_warp/Cargo.toml
index ac12384..d4f07e2 100644
--- a/askama_warp/Cargo.toml
+++ b/askama_warp/Cargo.toml
@@ -14,7 +14,7 @@ readme = "README.md"
edition = "2018"
[dependencies]
-askama = { version = "0.10", path = "../askama", features = ["with-warp", "mime", "mime_guess"] }
+askama = { version = "0.10", path = "../askama", default-features = false, features = ["with-warp", "mime", "mime_guess"] }
warp = { version = "0.2", default-features = false }
[dev-dependencies]