diff options
author | Jonas Platte <jplatte+git@posteo.de> | 2021-08-06 13:52:11 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2021-08-07 22:46:54 +0200 |
commit | e1b6969905dd5f8fd74b266446ae3e2735289f22 (patch) | |
tree | b0301f9979b0773568c0abb4b9da87b0cff72859 | |
parent | 092c1efbe869260c63432820695c6b8f2d071eec (diff) | |
download | askama-e1b6969905dd5f8fd74b266446ae3e2735289f22.tar.gz askama-e1b6969905dd5f8fd74b266446ae3e2735289f22.tar.bz2 askama-e1b6969905dd5f8fd74b266446ae3e2735289f22.zip |
Enable config support in askama_shared build dependency
Fixes using askama with the new Cargo feature resolver and a configuration file.
-rw-r--r-- | askama/Cargo.toml | 2 | ||||
-rw-r--r-- | askama_derive/Cargo.toml | 2 |
2 files changed, 3 insertions, 1 deletions
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 = [] |