aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/Cargo.toml
diff options
context:
space:
mode:
authorLibravatar René Kijewski <kijewski@library.vetmed.fu-berlin.de>2022-02-01 15:01:17 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-02-07 22:30:37 +0100
commitfd8bfa43c0c20e4af195824ff95503e41ddb82e8 (patch)
treeb366f80cf13c83d93b2141490eb3730c6a6a13b5 /askama_shared/Cargo.toml
parent0aab78c6775493fb13fabce2b5eaef7ac83e6665 (diff)
downloadaskama-fd8bfa43c0c20e4af195824ff95503e41ddb82e8.tar.gz
askama-fd8bfa43c0c20e4af195824ff95503e41ddb82e8.tar.bz2
askama-fd8bfa43c0c20e4af195824ff95503e41ddb82e8.zip
Add markdown filter
Diffstat (limited to 'askama_shared/Cargo.toml')
-rw-r--r--askama_shared/Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/askama_shared/Cargo.toml b/askama_shared/Cargo.toml
index b75ec77..e19ad35 100644
--- a/askama_shared/Cargo.toml
+++ b/askama_shared/Cargo.toml
@@ -13,10 +13,12 @@ edition = "2018"
default = ["config", "humansize", "num-traits", "percent-encoding"]
config = ["serde", "toml"]
json = ["serde", "serde_json"]
+markdown = ["comrak"]
yaml = ["serde", "serde_yaml"]
[dependencies]
askama_escape = { version = "0.10.2", path = "../askama_escape" }
+comrak = { version = "0.12", optional = true, default-features = false }
humansize = { version = "1.1.0", optional = true }
mime = "0.3"
mime_guess = "2"