From 68964fa8d15d6d503ad010e94a6d7a54037ecb40 Mon Sep 17 00:00:00 2001 From: João Oliveira Date: Mon, 30 Mar 2020 15:11:10 +0100 Subject: add urlencode filter --- askama_shared/Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'askama_shared/Cargo.toml') diff --git a/askama_shared/Cargo.toml b/askama_shared/Cargo.toml index d9faf2f..b8ea481 100644 --- a/askama_shared/Cargo.toml +++ b/askama_shared/Cargo.toml @@ -10,7 +10,7 @@ workspace = ".." edition = "2018" [features] -default = ["config", "humansize", "num-traits"] +default = ["config", "humansize", "num-traits", "percent-encoding"] config = ["serde", "toml"] json = ["serde", "serde_json"] yaml = ["serde", "serde_yaml"] @@ -30,6 +30,7 @@ serde_json = { version = "1.0", optional = true } serde_yaml = { version = "0.8", optional = true } syn = "1" toml = { version = "0.5", optional = true } +percent-encoding = { version = "2.1.0", optional = true } [package.metadata.docs.rs] -features = ["config", "humansize", "num-traits", "json", "yaml"] +features = ["config", "humansize", "num-traits", "json", "yaml", "percent-encoding"] -- cgit