diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-01-28 21:26:13 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-01-29 09:25:59 +0100 |
commit | b56c11639f9ea5ef1354a1e91ca98541a16bca9b (patch) | |
tree | 11933ea82d131d0b1efe64aed64ce1705f6f7d0a /askama_actix/Cargo.toml | |
parent | 9026f616e620426535bf095848fe355e25911d62 (diff) | |
download | askama-b56c11639f9ea5ef1354a1e91ca98541a16bca9b.tar.gz askama-b56c11639f9ea5ef1354a1e91ca98541a16bca9b.tar.bz2 askama-b56c11639f9ea5ef1354a1e91ca98541a16bca9b.zip |
Move Actix-Web integration into separate askama_actix crate
Diffstat (limited to 'askama_actix/Cargo.toml')
-rw-r--r-- | askama_actix/Cargo.toml | 22 |
1 files changed, 22 insertions, 0 deletions
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 <dirkjan@ochtman.nl>"] +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 } |