diff options
author | René Kijewski <kijewski@library.vetmed.fu-berlin.de> | 2022-05-24 18:05:37 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-06-07 14:31:58 +0200 |
commit | 0de54192a039943a687d579e15cb87bfc4801589 (patch) | |
tree | 7f59f9186064bf9ab63079432ef6b33bed1b38c3 | |
parent | ecf671945a1d3bdb5426a38f7ee1477e51a55bca (diff) | |
download | askama-0de54192a039943a687d579e15cb87bfc4801589.tar.gz askama-0de54192a039943a687d579e15cb87bfc4801589.tar.bz2 askama-0de54192a039943a687d579e15cb87bfc4801589.zip |
Expose features in integration crates
-rw-r--r-- | askama_actix/Cargo.toml | 10 | ||||
-rw-r--r-- | askama_axum/Cargo.toml | 10 | ||||
-rw-r--r-- | askama_gotham/Cargo.toml | 10 | ||||
-rw-r--r-- | askama_mendes/Cargo.toml | 10 | ||||
-rw-r--r-- | askama_rocket/Cargo.toml | 10 | ||||
-rw-r--r-- | askama_tide/Cargo.toml | 10 | ||||
-rw-r--r-- | askama_warp/Cargo.toml | 10 |
7 files changed, 70 insertions, 0 deletions
diff --git a/askama_actix/Cargo.toml b/askama_actix/Cargo.toml index 3b9fc91..ea95615 100644 --- a/askama_actix/Cargo.toml +++ b/askama_actix/Cargo.toml @@ -20,3 +20,13 @@ askama = { version = "0.11.2", path = "../askama", default-features = false, fea actix-rt = { version = "2", default-features = false } actix-test = "=0.1.0-beta.13" bytes = { version = "1" } + +[features] +default = ["askama/default"] +config = ["askama/config"] +humansize = ["askama/humansize"] +markdown = ["askama/markdown"] +num-traits = ["askama/num-traits"] +serde-json = ["askama/serde-json"] +serde-yaml = ["askama/serde-yaml"] +urlencode = ["askama/urlencode"] diff --git a/askama_axum/Cargo.toml b/askama_axum/Cargo.toml index d1f7d37..cd2693f 100644 --- a/askama_axum/Cargo.toml +++ b/askama_axum/Cargo.toml @@ -22,3 +22,13 @@ axum = { version = "0.5", default-features = false } hyper = { version = "0.14", features = ["full"] } tokio = { version = "1.0", features = ["full"] } tower = { version = "0.4", features = ["util"] } + +[features] +default = ["askama/default"] +config = ["askama/config"] +humansize = ["askama/humansize"] +markdown = ["askama/markdown"] +num-traits = ["askama/num-traits"] +serde-json = ["askama/serde-json"] +serde-yaml = ["askama/serde-yaml"] +urlencode = ["askama/urlencode"] diff --git a/askama_gotham/Cargo.toml b/askama_gotham/Cargo.toml index 31a034c..bb08816 100644 --- a/askama_gotham/Cargo.toml +++ b/askama_gotham/Cargo.toml @@ -20,3 +20,13 @@ gotham = { version = "0.7", default-features = false } gotham = { version = "0.7", features = ["testing"] } hyper = "0.14" mime = "0.3" + +[features] +default = ["askama/default"] +config = ["askama/config"] +humansize = ["askama/humansize"] +markdown = ["askama/markdown"] +num-traits = ["askama/num-traits"] +serde-json = ["askama/serde-json"] +serde-yaml = ["askama/serde-yaml"] +urlencode = ["askama/urlencode"] diff --git a/askama_mendes/Cargo.toml b/askama_mendes/Cargo.toml index 2182d2d..efbff85 100644 --- a/askama_mendes/Cargo.toml +++ b/askama_mendes/Cargo.toml @@ -20,3 +20,13 @@ mendes = "0.0.64" async-trait = "0.1.51" hyper = "0.14.15" tokio = { version = "1.12", features = ["macros", "rt-multi-thread"] } + +[features] +default = ["askama/default"] +config = ["askama/config"] +humansize = ["askama/humansize"] +markdown = ["askama/markdown"] +num-traits = ["askama/num-traits"] +serde-json = ["askama/serde-json"] +serde-yaml = ["askama/serde-yaml"] +urlencode = ["askama/urlencode"] diff --git a/askama_rocket/Cargo.toml b/askama_rocket/Cargo.toml index 2ef3468..bdace04 100644 --- a/askama_rocket/Cargo.toml +++ b/askama_rocket/Cargo.toml @@ -15,3 +15,13 @@ edition = "2018" [dependencies] askama = { version = "0.11.2", path = "../askama", default-features = false, features = ["with-rocket", "mime", "mime_guess"] } rocket = { version = "0.4", default-features = false } + +[features] +default = ["askama/default"] +config = ["askama/config"] +humansize = ["askama/humansize"] +markdown = ["askama/markdown"] +num-traits = ["askama/num-traits"] +serde-json = ["askama/serde-json"] +serde-yaml = ["askama/serde-yaml"] +urlencode = ["askama/urlencode"] diff --git a/askama_tide/Cargo.toml b/askama_tide/Cargo.toml index 7764a69..328a661 100644 --- a/askama_tide/Cargo.toml +++ b/askama_tide/Cargo.toml @@ -17,3 +17,13 @@ tide = { version = "0.16", default-features = false } [dev-dependencies] async-std = { version = "1.6.5", features = ["attributes"] } + +[features] +default = ["askama/default"] +config = ["askama/config"] +humansize = ["askama/humansize"] +markdown = ["askama/markdown"] +num-traits = ["askama/num-traits"] +serde-json = ["askama/serde-json"] +serde-yaml = ["askama/serde-yaml"] +urlencode = ["askama/urlencode"] diff --git a/askama_warp/Cargo.toml b/askama_warp/Cargo.toml index 2c894b2..b1a2d51 100644 --- a/askama_warp/Cargo.toml +++ b/askama_warp/Cargo.toml @@ -19,3 +19,13 @@ warp = { version = "0.3", default-features = false } [dev-dependencies] tokio-test = "0.4" tokio = { version = "1", features = ["macros"] } + +[features] +default = ["askama/default"] +config = ["askama/config"] +humansize = ["askama/humansize"] +markdown = ["askama/markdown"] +num-traits = ["askama/num-traits"] +serde-json = ["askama/serde-json"] +serde-yaml = ["askama/serde-yaml"] +urlencode = ["askama/urlencode"] |