From fd8bfa43c0c20e4af195824ff95503e41ddb82e8 Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Tue, 1 Feb 2022 15:01:17 +0100 Subject: Add markdown filter --- testing/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'testing/Cargo.toml') 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] -- cgit