diff options
author | René Kijewski <kijewski@library.vetmed.fu-berlin.de> | 2022-02-25 21:38:13 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-02-25 22:04:16 +0100 |
commit | 0b376b439f759613966916787b613616627bb3f9 (patch) | |
tree | b429ab3c71b616dd4e827361825ba1776f5faafa /askama_actix | |
parent | 09429bb01f6b0112b2a7a6b10bdc35e079da97fa (diff) | |
download | askama-0b376b439f759613966916787b613616627bb3f9.tar.gz askama-0b376b439f759613966916787b613616627bb3f9.tar.bz2 askama-0b376b439f759613966916787b613616627bb3f9.zip |
Actix Web v4.0 is here
Diffstat (limited to 'askama_actix')
-rw-r--r-- | askama_actix/Cargo.toml | 7 | ||||
-rw-r--r-- | askama_actix/src/lib.rs | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/askama_actix/Cargo.toml b/askama_actix/Cargo.toml index 14bfaea..ab5c905 100644 --- a/askama_actix/Cargo.toml +++ b/askama_actix/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "askama_actix" -version = "0.12.0" +version = "0.13.0" description = "Actix-Web integration for Askama templates" documentation = "https://docs.rs/askama" keywords = ["markup", "template", "jinja2", "html"] @@ -13,8 +13,9 @@ readme = "README.md" edition = "2018" [dependencies] -actix-web = { version = "4.0.0-rc.1", default-features = false } -askama = { version = "0.11.0", path = "../askama", default-features = false, features = ["with-actix-web", "mime", "mime_guess"] } +actix-web = { version = "4", default-features = false } +askama = { version = "0.11.1", path = "../askama", default-features = false, features = ["with-actix-web"] } +askama_shared = { version = "0.12.2", path = "../askama_shared" } [dev-dependencies] actix-rt = { version = "2", default-features = false } diff --git a/askama_actix/src/lib.rs b/askama_actix/src/lib.rs index 59957f4..d98debc 100644 --- a/askama_actix/src/lib.rs +++ b/askama_actix/src/lib.rs @@ -4,6 +4,7 @@ use std::fmt; +pub use actix_web; use actix_web::body::BoxBody; use actix_web::http::header::HeaderValue; use actix_web::http::StatusCode; |