From 44c54ed3ced03c688248861a35f10f6387672039 Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Tue, 3 Dec 2024 20:58:21 +0000 Subject: [PATCH] Try to remove default features from "url" to compile on older Rusts --- crates/librqbit/Cargo.toml | 2 +- crates/librqbit_core/Cargo.toml | 2 +- crates/tracker_comms/Cargo.toml | 2 +- crates/upnp-serve/Cargo.toml | 2 +- crates/upnp/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/librqbit/Cargo.toml b/crates/librqbit/Cargo.toml index 66a5a7c4..9114a2bf 100644 --- a/crates/librqbit/Cargo.toml +++ b/crates/librqbit/Cargo.toml @@ -92,7 +92,7 @@ tracing-subscriber = { version = "0.3", default-features = false, features = [ ], optional = true } uuid = { version = "1.2", features = ["v4"] } futures = "0.3" -url = "2" +url = { version = "2", default-features = false } hex = "0.4" backoff = "0.4.0" dashmap = "6" diff --git a/crates/librqbit_core/Cargo.toml b/crates/librqbit_core/Cargo.toml index 12bdb77e..5bc4a02a 100644 --- a/crates/librqbit_core/Cargo.toml +++ b/crates/librqbit_core/Cargo.toml @@ -19,7 +19,7 @@ tracing = "0.1.40" tokio = { version = "1", features = ["rt-multi-thread", "macros", "time"] } hex = "0.4" anyhow = "1" -url = "2" +url = { version = "2", default-features = false } uuid = { version = "1", features = ["v4"] } parking_lot = "0.12" serde = { version = "1", features = ["derive"] } diff --git a/crates/tracker_comms/Cargo.toml b/crates/tracker_comms/Cargo.toml index 15519637..1a2da2cc 100644 --- a/crates/tracker_comms/Cargo.toml +++ b/crates/tracker_comms/Cargo.toml @@ -24,4 +24,4 @@ rand = "0.8" tracing = "0.1.40" reqwest = { version = "0.12", default-features = false, features = ["json"] } bencode = { path = "../bencode", default-features = false, package = "librqbit-bencode", version = "3" } -url = "2" +url = { version = "2", default-features = false } diff --git a/crates/upnp-serve/Cargo.toml b/crates/upnp-serve/Cargo.toml index b7b65c99..182accb3 100644 --- a/crates/upnp-serve/Cargo.toml +++ b/crates/upnp-serve/Cargo.toml @@ -31,7 +31,7 @@ gethostname = "0.5.0" librqbit-sha1-wrapper = { path = "../sha1w", version = "4", default-features = false } librqbit-core = { version = "4", path = "../librqbit_core", default-features = false } mime_guess = "2.0.5" -url = "2.5.2" +url = { version = "2", default-features = false } parking_lot = "0.12.3" tokio-util = "0.7.11" reqwest = { version = "0.12.7", default-features = false } diff --git a/crates/upnp/Cargo.toml b/crates/upnp/Cargo.toml index 4d565d75..7deb9ccc 100644 --- a/crates/upnp/Cargo.toml +++ b/crates/upnp/Cargo.toml @@ -18,7 +18,7 @@ reqwest = { version = "0.12", default-features = false } serde = { version = "1", features = ["derive"] } tokio = { version = "1", features = ["macros"] } futures = "0.3" -url = "2" +url = { version = "2", default-features = false } network-interface = { version = "2" } httparse = "1.9.4" bstr = "1.10.0"