Revert "Remove percent-encoding dependency (not currently used)"

This reverts commit 540a69a8e45ff117f0a1bb0272bbc40c526ed12e.
This commit is contained in:
Jonas Platte 2019-11-15 20:41:54 +01:00
parent 14fa10af6b
commit 5729aa1344
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -14,6 +14,7 @@ edition = "2018"
[dependencies]
http = "0.1.19"
percent-encoding = { version = "2.1.0", optional = true }
ruma-api-macros = { path = "ruma-api-macros", optional = true }
ruma-identifiers = "0.14.0"
serde = { version = "1.0.102", features = ["derive"], optional = true }
@ -23,7 +24,7 @@ url = { version = "2.1.0", optional = true }
[features]
default = ["with-ruma-api-macros"]
with-ruma-api-macros = ["ruma-api-macros", "serde", "url"]
with-ruma-api-macros = ["percent-encoding", "ruma-api-macros", "serde", "url"]
[workspace]
members = [