From b85b3463c3b023f9b342c0bc7c16ac1529879305 Mon Sep 17 00:00:00 2001 From: Randati Date: Mon, 21 Dec 2020 14:18:13 +0200 Subject: 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. --- askama_warp/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_warp/Cargo.toml') 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] -- cgit