aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive
diff options
context:
space:
mode:
authorLibravatar Andrew Wheeler(Genusis) <lordsatin@hotmail.com>2022-04-06 16:10:02 -0400
committerLibravatar GitHub <noreply@github.com>2022-04-06 22:10:02 +0200
commitd5fe7dcf376213b7d02e2fdd521defd3abf3e972 (patch)
treee95d059e56c6367cc1b09a3d731f5681d5173fbd /askama_derive
parenta9132fd6c78d0cc740686d5acc89267f5fa2fc7b (diff)
downloadaskama-d5fe7dcf376213b7d02e2fdd521defd3abf3e972.tar.gz
askama-d5fe7dcf376213b7d02e2fdd521defd3abf3e972.tar.bz2
askama-d5fe7dcf376213b7d02e2fdd521defd3abf3e972.zip
Moved Features into derive (#662)
* Moved Features into derive, Updated Askama versions to 0.11 * Lock minimal versions to 0.11.2
Diffstat (limited to 'askama_derive')
-rw-r--r--askama_derive/Cargo.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/askama_derive/Cargo.toml b/askama_derive/Cargo.toml
index 1752637..016960d 100644
--- a/askama_derive/Cargo.toml
+++ b/askama_derive/Cargo.toml
@@ -12,5 +12,21 @@ edition = "2018"
[lib]
proc-macro = true
+[features]
+config = ["askama_shared/config"]
+humansize = ["askama_shared/humansize"]
+markdown = ["askama_shared/markdown"]
+urlencode = ["askama_shared/percent-encoding"]
+serde-json = ["askama_shared/json"]
+serde-yaml = ["askama_shared/yaml"]
+num-traits = ["askama_shared/num-traits"]
+with-actix-web = ["askama_shared/actix-web"]
+with-axum = ["askama_shared/axum"]
+with-gotham = ["askama_shared/gotham"]
+with-mendes = ["askama_shared/mendes"]
+with-rocket = ["askama_shared/rocket"]
+with-tide = ["askama_shared/tide"]
+with-warp = ["askama_shared/warp"]
+
[dependencies]
askama_shared = { version = "0.13.0", path = "../askama_shared", default-features = false }