From 853a50580c4935b4b09848853545545298d26151 Mon Sep 17 00:00:00 2001 From: Austin Bonander Date: Wed, 4 Feb 2026 17:02:55 -0800 Subject: [PATCH] chore: move unused `url` dependency of `sqlx-core` to `any` feature --- sqlx-core/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlx-core/Cargo.toml b/sqlx-core/Cargo.toml index f2eef140d..40659edcc 100644 --- a/sqlx-core/Cargo.toml +++ b/sqlx-core/Cargo.toml @@ -15,7 +15,7 @@ features = ["offline"] default = [] migrate = ["sha2", "crc"] -any = [] +any = ["url"] json = ["serde", "serde_json"] @@ -94,7 +94,7 @@ toml = { version = "0.8.16", optional = true } sha2 = { version = "0.10.0", default-features = false, optional = true } tracing = { version = "0.1.37", features = ["log"] } smallvec = "1.7.0" -url = { version = "2.2.2" } +url = { version = "2.2.2", optional = true } bstr = { version = "1.0", default-features = false, features = ["std"], optional = true } hashlink = "0.11.0" indexmap = "2.0"