From e1b6969905dd5f8fd74b266446ae3e2735289f22 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 6 Aug 2021 13:52:11 +0200 Subject: Enable config support in askama_shared build dependency Fixes using askama with the new Cargo feature resolver and a configuration file. --- askama/Cargo.toml | 2 +- askama_derive/Cargo.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/askama/Cargo.toml b/askama/Cargo.toml index 07c0530..85e1213 100644 --- a/askama/Cargo.toml +++ b/askama/Cargo.toml @@ -18,7 +18,7 @@ maintenance = { status = "actively-developed" } [features] default = ["config", "humansize", "num-traits", "urlencode"] -config = ["askama_shared/config"] +config = ["askama_derive/config", "askama_shared/config"] humansize = ["askama_shared/humansize"] urlencode = ["askama_shared/percent-encoding"] serde-json = ["askama_shared/json"] diff --git a/askama_derive/Cargo.toml b/askama_derive/Cargo.toml index f3df891..258ad9e 100644 --- a/askama_derive/Cargo.toml +++ b/askama_derive/Cargo.toml @@ -14,6 +14,8 @@ edition = "2018" proc-macro = true [features] +config = ["askama_shared/config"] + actix-web = [] gotham = [] iron = [] -- cgit