diff options
author | Andrew Wheeler(Genusis) <lordsatin@hotmail.com> | 2022-04-06 16:10:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-06 22:10:02 +0200 |
commit | d5fe7dcf376213b7d02e2fdd521defd3abf3e972 (patch) | |
tree | e95d059e56c6367cc1b09a3d731f5681d5173fbd | |
parent | a9132fd6c78d0cc740686d5acc89267f5fa2fc7b (diff) | |
download | askama-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 '')
-rw-r--r-- | askama/Cargo.toml | 28 | ||||
-rw-r--r-- | askama_axum/Cargo.toml | 2 | ||||
-rw-r--r-- | askama_derive/Cargo.toml | 16 | ||||
-rw-r--r-- | askama_gotham/Cargo.toml | 2 | ||||
-rw-r--r-- | askama_mendes/Cargo.toml | 2 | ||||
-rw-r--r-- | askama_rocket/Cargo.toml | 2 | ||||
-rw-r--r-- | askama_tide/Cargo.toml | 2 | ||||
-rw-r--r-- | askama_warp/Cargo.toml | 2 |
8 files changed, 36 insertions, 20 deletions
diff --git a/askama/Cargo.toml b/askama/Cargo.toml index eb17c58..dad6ad7 100644 --- a/askama/Cargo.toml +++ b/askama/Cargo.toml @@ -17,20 +17,20 @@ maintenance = { status = "actively-developed" } [features] default = ["config", "humansize", "num-traits", "urlencode"] -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"] +config = ["askama_derive/config", "askama_shared/config"] +humansize = ["askama_derive/humansize", "askama_shared/humansize"] +markdown = ["askama_derive/markdown", "askama_shared/markdown"] +urlencode = ["askama_derive/urlencode", "askama_shared/percent-encoding"] +serde-json = ["askama_derive/serde-json", "askama_shared/json"] +serde-yaml = ["askama_derive/serde-yaml", "askama_shared/yaml"] +num-traits = ["askama_derive/num-traits", "askama_shared/num-traits"] +with-actix-web = ["askama_derive/with-actix-web", "askama_shared/actix-web"] +with-axum = ["askama_derive/with-axum", "askama_shared/axum"] +with-gotham = ["askama_derive/with-gotham", "askama_shared/gotham"] +with-mendes = ["askama_derive/with-mendes", "askama_shared/mendes"] +with-rocket = ["askama_derive/with-rocket", "askama_shared/rocket"] +with-tide = ["askama_derive/with-tide", "askama_shared/tide"] +with-warp = ["askama_derive/with-warp", "askama_shared/warp"] # deprecated mime = [] diff --git a/askama_axum/Cargo.toml b/askama_axum/Cargo.toml index 834daf4..d1f7d37 100644 --- a/askama_axum/Cargo.toml +++ b/askama_axum/Cargo.toml @@ -13,7 +13,7 @@ workspace = ".." readme = "README.md" [dependencies] -askama = { version = "0.11.0", path = "../askama", default-features = false, features = ["with-axum", "mime", "mime_guess"] } +askama = { version = "0.11.2", path = "../askama", default-features = false, features = ["with-axum", "mime", "mime_guess"] } axum-core = "0.2" http = "0.2" 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 } diff --git a/askama_gotham/Cargo.toml b/askama_gotham/Cargo.toml index 2d36ea1..31a034c 100644 --- a/askama_gotham/Cargo.toml +++ b/askama_gotham/Cargo.toml @@ -13,7 +13,7 @@ readme = "README.md" edition = "2018" [dependencies] -askama = { version = "0.11.0", path = "../askama", default-features = false, features = ["with-gotham", "mime", "mime_guess"] } +askama = { version = "0.11.2", path = "../askama", default-features = false, features = ["with-gotham", "mime", "mime_guess"] } gotham = { version = "0.7", default-features = false } [dev-dependencies] diff --git a/askama_mendes/Cargo.toml b/askama_mendes/Cargo.toml index ee0379d..030c612 100644 --- a/askama_mendes/Cargo.toml +++ b/askama_mendes/Cargo.toml @@ -13,7 +13,7 @@ readme = "README.md" edition = "2018" [dependencies] -askama = { version = "0.11.0-beta.1", path = "../askama", default-features = false, features = ["with-mendes", "mime", "mime_guess"] } +askama = { version = "0.11.2", path = "../askama", default-features = false, features = ["with-mendes", "mime", "mime_guess"] } mendes = "0.0.63" [dev-dependencies] diff --git a/askama_rocket/Cargo.toml b/askama_rocket/Cargo.toml index ef5ee42..2ef3468 100644 --- a/askama_rocket/Cargo.toml +++ b/askama_rocket/Cargo.toml @@ -13,5 +13,5 @@ readme = "README.md" edition = "2018" [dependencies] -askama = { version = "0.11.0-beta.1", path = "../askama", default-features = false, features = ["with-rocket", "mime", "mime_guess"] } +askama = { version = "0.11.2", path = "../askama", default-features = false, features = ["with-rocket", "mime", "mime_guess"] } rocket = { version = "0.4", default-features = false } diff --git a/askama_tide/Cargo.toml b/askama_tide/Cargo.toml index d51afd5..7764a69 100644 --- a/askama_tide/Cargo.toml +++ b/askama_tide/Cargo.toml @@ -12,7 +12,7 @@ workspace = ".." readme = "README.md" [dependencies] -askama = { version = "0.11.0", path = "../askama", default-features = false, features = ["with-tide"] } +askama = { version = "0.11.2", path = "../askama", default-features = false, features = ["with-tide"] } tide = { version = "0.16", default-features = false } [dev-dependencies] diff --git a/askama_warp/Cargo.toml b/askama_warp/Cargo.toml index 84ef7eb..2c894b2 100644 --- a/askama_warp/Cargo.toml +++ b/askama_warp/Cargo.toml @@ -13,7 +13,7 @@ readme = "README.md" edition = "2018" [dependencies] -askama = { version = "0.11.0", path = "../askama", default-features = false, features = ["with-warp", "mime", "mime_guess"] } +askama = { version = "0.11.2", path = "../askama", default-features = false, features = ["with-warp", "mime", "mime_guess"] } warp = { version = "0.3", default-features = false } [dev-dependencies] |