aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama/Cargo.toml4
-rw-r--r--askama_derive/Cargo.toml2
2 files changed, 4 insertions, 2 deletions
diff --git a/askama/Cargo.toml b/askama/Cargo.toml
index 076f7e9..281e232 100644
--- a/askama/Cargo.toml
+++ b/askama/Cargo.toml
@@ -20,8 +20,8 @@ default = ["config", "humansize", "num-traits", "urlencode"]
config = ["askama_derive/config", "askama_shared/config"]
humansize = ["askama_shared/humansize"]
urlencode = ["askama_shared/percent-encoding"]
-serde-json = ["askama_shared/json"]
-serde-yaml = ["askama_shared/yaml"]
+serde-json = ["askama_derive/json", "askama_shared/json"]
+serde-yaml = ["askama_derive/yaml", "askama_shared/yaml"]
num-traits = ["askama_shared/num-traits"]
with-actix-web = ["askama_derive/actix-web"]
with-axum = ["askama_derive/axum"]
diff --git a/askama_derive/Cargo.toml b/askama_derive/Cargo.toml
index 5369935..1f5c099 100644
--- a/askama_derive/Cargo.toml
+++ b/askama_derive/Cargo.toml
@@ -14,6 +14,8 @@ proc-macro = true
[features]
config = ["askama_shared/config"]
+json = ["askama_shared/json"]
+yaml = ["askama_shared/yaml"]
actix-web = []
axum = []