Skip to content

Commit 2387efa

Browse files
authored
fix: add Serde std feature if needed (#1068)
* fix: add Serde std feature if needed * bump the version to 2.5.7
1 parent aae60cf commit 2387efa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

url/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
name = "url"
44
# When updating version, also modify html_root_url in the lib.rs
5-
version = "2.5.6"
5+
version = "2.5.7"
66
authors = ["The rust-url developers"]
77

88
description = "URL library for Rust, based on the WHATWG URL Standard"
@@ -32,7 +32,7 @@ serde = { version = "1.0", optional = true, features = ["derive"], default-featu
3232

3333
[features]
3434
default = ["std"]
35-
std = ["idna/std", "percent-encoding/std", "form_urlencoded/std"]
35+
std = ["idna/std", "percent-encoding/std", "form_urlencoded/std", "serde/std"]
3636

3737
# Enable to use the #[debugger_visualizer] attribute. This feature requires Rust >= 1.71.
3838
debugger_visualizer = []

url/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ url = { version = "2", features = ["debugger_visualizer"] }
143143
*/
144144

145145
#![no_std]
146-
#![doc(html_root_url = "https://docs.rs/url/2.5.6")]
146+
#![doc(html_root_url = "https://docs.rs/url/2.5.7")]
147147
#![cfg_attr(
148148
feature = "debugger_visualizer",
149149
debugger_visualizer(natvis_file = "../../debug_metadata/url.natvis")

0 commit comments

Comments
 (0)