Add alloc dependencies behind an optional alloc feature
@@ -6,3 +6,7 @@ description = "Percent encoding and decoding"
repository = "https://github.com/servo/rust-url/"
license = "MIT/Apache-2.0"
edition = "2018"
+
+[features]
+default = ["alloc"]
+alloc = []
