Skip to content

Commit 2ce2e12

Browse files
authored
Disable the default features on serde. (#1033)
Serde has a `std` default feature, which drags `std` into the dependency tree if one want to use `url` and `serde` together.
1 parent adb8660 commit 2ce2e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

url/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ wasm-bindgen-test = "0.3"
2828
form_urlencoded = { version = "1.2.1", path = "../form_urlencoded", default-features = false, features = ["alloc"] }
2929
idna = { version = "1.0.3", path = "../idna", default-features = false, features = ["alloc", "compiled_data"] }
3030
percent-encoding = { version = "2.3.1", path = "../percent_encoding", default-features = false, features = ["alloc"] }
31-
serde = { version = "1.0", optional = true, features = ["derive"] }
31+
serde = { version = "1.0", optional = true, features = ["derive"], default-features = false }
3232

3333
[features]
3434
default = ["std"]

0 commit comments

Comments
 (0)