diff --git a/Cargo.toml b/Cargo.toml index 6d681e6d5..078a808c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,7 +43,7 @@ rustls-tls-manual-roots = ["__rustls"] rustls-tls-webpki-roots = ["webpki-roots", "__rustls"] rustls-tls-native-roots = ["rustls-native-certs", "__rustls"] -blocking = ["futures-util/io", "tokio/rt-multi-thread", "tokio/sync"] +blocking = ["futures-util/io", "tokio/sync"] cookies = ["cookie_crate", "cookie_store"] diff --git a/src/blocking/client.rs b/src/blocking/client.rs index 195081391..689e6a0d8 100644 --- a/src/blocking/client.rs +++ b/src/blocking/client.rs @@ -1172,7 +1172,7 @@ impl Default for Timeout { } } -pub(crate) struct KeepCoreThreadAlive(Option>); +pub(crate) struct KeepCoreThreadAlive(#[allow(unused)] Option>); impl KeepCoreThreadAlive { pub(crate) fn empty() -> KeepCoreThreadAlive {