From 32b0ef31df97cfd996c024c5b3742361797c73f0 Mon Sep 17 00:00:00 2001 From: Jeremy HERGAULT Date: Fri, 22 Aug 2025 11:33:40 +0200 Subject: [PATCH 1/2] fix: add Serde std feature if needed --- url/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/url/Cargo.toml b/url/Cargo.toml index 6242ab4f..d614f98b 100644 --- a/url/Cargo.toml +++ b/url/Cargo.toml @@ -32,7 +32,7 @@ serde = { version = "1.0", optional = true, features = ["derive"], default-featu [features] default = ["std"] -std = ["idna/std", "percent-encoding/std", "form_urlencoded/std"] +std = ["idna/std", "percent-encoding/std", "form_urlencoded/std", "serde/std"] # Enable to use the #[debugger_visualizer] attribute. This feature requires Rust >= 1.71. debugger_visualizer = [] From e49225c4e8d1b07171c22e313f763a23e91e1afb Mon Sep 17 00:00:00 2001 From: Jeremy HERGAULT Date: Fri, 22 Aug 2025 16:13:04 +0200 Subject: [PATCH 2/2] bump the version to 2.5.7 --- url/Cargo.toml | 2 +- url/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/url/Cargo.toml b/url/Cargo.toml index d614f98b..9e5516bd 100644 --- a/url/Cargo.toml +++ b/url/Cargo.toml @@ -2,7 +2,7 @@ name = "url" # When updating version, also modify html_root_url in the lib.rs -version = "2.5.6" +version = "2.5.7" authors = ["The rust-url developers"] description = "URL library for Rust, based on the WHATWG URL Standard" diff --git a/url/src/lib.rs b/url/src/lib.rs index f5167ee1..ff70a76a 100644 --- a/url/src/lib.rs +++ b/url/src/lib.rs @@ -143,7 +143,7 @@ url = { version = "2", features = ["debugger_visualizer"] } */ #![no_std] -#![doc(html_root_url = "https://docs.rs/url/2.5.6")] +#![doc(html_root_url = "https://docs.rs/url/2.5.7")] #![cfg_attr( feature = "debugger_visualizer", debugger_visualizer(natvis_file = "../../debug_metadata/url.natvis")