aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/Cargo.toml
diff options
context:
space:
mode:
authorLibravatar João Oliveira <hello@jxs.pt>2020-03-30 15:11:10 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-03-30 16:49:57 +0200
commit68964fa8d15d6d503ad010e94a6d7a54037ecb40 (patch)
treea2f9c7a2b7c49304f8cb2a643258a6183223f231 /askama_shared/Cargo.toml
parent3f202b32f270e8945a07962ca4413e374e2aadee (diff)
downloadaskama-68964fa8d15d6d503ad010e94a6d7a54037ecb40.tar.gz
askama-68964fa8d15d6d503ad010e94a6d7a54037ecb40.tar.bz2
askama-68964fa8d15d6d503ad010e94a6d7a54037ecb40.zip
add urlencode filter
Diffstat (limited to '')
-rw-r--r--askama_shared/Cargo.toml5
1 files changed, 3 insertions, 2 deletions
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"]