From 0b376b439f759613966916787b613616627bb3f9 Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Fri, 25 Feb 2022 21:38:13 +0100 Subject: Actix Web v4.0 is here --- askama_actix/Cargo.toml | 7 ++++--- askama_actix/src/lib.rs | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'askama_actix') 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; -- cgit