aboutsummaryrefslogtreecommitdiffstats
path: root/testing/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 /testing/Cargo.toml
parent0aab78c6775493fb13fabce2b5eaef7ac83e6665 (diff)
downloadaskama-fd8bfa43c0c20e4af195824ff95503e41ddb82e8.tar.gz
askama-fd8bfa43c0c20e4af195824ff95503e41ddb82e8.tar.bz2
askama-fd8bfa43c0c20e4af195824ff95503e41ddb82e8.zip
Add markdown filter
Diffstat (limited to 'testing/Cargo.toml')
-rw-r--r--testing/Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/Cargo.toml b/testing/Cargo.toml
index 008b200..bd7bbc9 100644
--- a/testing/Cargo.toml
+++ b/testing/Cargo.toml
@@ -7,10 +7,13 @@ edition = "2018"
publish = false
[features]
-default = ["serde_json", "askama/serde-json"]
+default = ["serde-json", "markdown"]
+serde-json = ["serde_json", "askama/serde-json"]
+markdown = ["comrak", "askama/markdown"]
[dependencies]
askama = { path = "../askama", version = "0.11.0-beta.1" }
+comrak = { version = "0.12", default-features = false, optional = true }
serde_json = { version = "1.0", optional = true }
[dev-dependencies]