From b56c11639f9ea5ef1354a1e91ca98541a16bca9b Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 28 Jan 2020 21:26:13 +0100 Subject: Move Actix-Web integration into separate askama_actix crate --- askama_actix/Cargo.toml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 askama_actix/Cargo.toml (limited to 'askama_actix/Cargo.toml') diff --git a/askama_actix/Cargo.toml b/askama_actix/Cargo.toml new file mode 100644 index 0000000..1e857a5 --- /dev/null +++ b/askama_actix/Cargo.toml @@ -0,0 +1,22 @@ +[package] +name = "askama_actix" +version = "0.9.0" +authors = ["Dirkjan Ochtman "] +description = "Actix-Web integration for Askama templates" +documentation = "https://docs.rs/askama" +keywords = ["markup", "template", "jinja2", "html"] +categories = ["template-engine"] +homepage = "https://github.com/djc/askama" +repository = "https://github.com/djc/askama" +license = "MIT OR Apache-2.0" +workspace = ".." +edition = "2018" + +[dependencies] +actix-web = { version = "2" } +askama = { version = "0.9.0", path = "../askama", features = ["with-actix-web", "mime", "mime_guess"] } +bytes = { version = "0.5" } +futures = { version = "0.3" } + +[dev-dependencies] +actix-rt = { version = "1", default-features = false } -- cgit