From d5fe7dcf376213b7d02e2fdd521defd3abf3e972 Mon Sep 17 00:00:00 2001 From: "Andrew Wheeler(Genusis)" Date: Wed, 6 Apr 2022 16:10:02 -0400 Subject: Moved Features into derive (#662) * Moved Features into derive, Updated Askama versions to 0.11 * Lock minimal versions to 0.11.2 --- askama_derive/Cargo.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'askama_derive') 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 } -- cgit