From ad2c7d290d715c567d1b8165062636feeec0b213 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Wed, 6 Nov 2024 11:05:17 +0100 Subject: [PATCH] deps: enable std feature of url crate (#2219) `url` `v0.5.3` and `idna` `v1.0.3` added no-std support: https://github.com/servo/rust-url/pull/831 Since Neqo sets `default-features = false`, the above would break Neqo. Related: https://github.com/servo/rust-url/pull/831 --- neqo-bin/Cargo.toml | 2 +- neqo-http3/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/neqo-bin/Cargo.toml b/neqo-bin/Cargo.toml index 4c155bb3c6..df8014ba2f 100644 --- a/neqo-bin/Cargo.toml +++ b/neqo-bin/Cargo.toml @@ -41,7 +41,7 @@ qlog = { workspace = true } quinn-udp = { workspace = true } regex = { version = "1.9", default-features = false, features = ["unicode-perl"] } tokio = { version = "1", default-features = false, features = ["net", "time", "macros", "rt", "rt-multi-thread"] } -url = { version = "2.5", default-features = false } +url = { version = "2.5", default-features = false, features = ["std"] } [dev-dependencies] criterion = { version = "0.5", default-features = false, features = ["async_tokio"] } diff --git a/neqo-http3/Cargo.toml b/neqo-http3/Cargo.toml index 0055cbf326..491a1227ff 100644 --- a/neqo-http3/Cargo.toml +++ b/neqo-http3/Cargo.toml @@ -25,7 +25,7 @@ neqo-qpack = { path = "./../neqo-qpack" } neqo-transport = { path = "./../neqo-transport" } qlog = { workspace = true } sfv = { version = "0.9", default-features = false } -url = { version = "2.5", default-features = false } +url = { version = "2.5", default-features = false, features = ["std"] } [dev-dependencies] test-fixture = { path = "../test-fixture" }