Skip to content

Commit 5324cd6

Browse files
committed
chore: blocking doesn't need multi-threaded
1 parent e639bdc commit 5324cd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ rustls-tls-manual-roots = ["__rustls"]
4343
rustls-tls-webpki-roots = ["webpki-roots", "__rustls"]
4444
rustls-tls-native-roots = ["rustls-native-certs", "__rustls"]
4545

46-
blocking = ["futures-util/io", "tokio/rt-multi-thread", "tokio/sync"]
46+
blocking = ["futures-util/io", "tokio/sync"]
4747

4848
cookies = ["cookie_crate", "cookie_store"]
4949

src/blocking/client.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ impl Default for Timeout {
11721172
}
11731173
}
11741174

1175-
pub(crate) struct KeepCoreThreadAlive(Option<Arc<InnerClientHandle>>);
1175+
pub(crate) struct KeepCoreThreadAlive(#[allow(unused)] Option<Arc<InnerClientHandle>>);
11761176

11771177
impl KeepCoreThreadAlive {
11781178
pub(crate) fn empty() -> KeepCoreThreadAlive {

0 commit comments

Comments
 (0)