summaryrefslogtreecommitdiffstats
path: root/tokio/src/runtime
diff options
context:
space:
mode:
authorIvan Petkov <ivanppetkov@gmail.com>2020-09-24 14:36:42 -0700
committerGitHub <noreply@github.com>2020-09-24 21:36:42 +0000
commit56acde069fe7fc57259e72de612f0c91c1320972 (patch)
treea06d5cad65375336dc93441a6f207e3de93fcefe /tokio/src/runtime
parentffa5bdb22db066b531e45b42d0cb236c3916eee2 (diff)
chore: remove internal io-driver cargo feature (#2881)
Diffstat (limited to 'tokio/src/runtime')
-rw-r--r--tokio/src/runtime/builder.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/tokio/src/runtime/builder.rs b/tokio/src/runtime/builder.rs
index 043371c7..d43666d3 100644
--- a/tokio/src/runtime/builder.rs
+++ b/tokio/src/runtime/builder.rs
@@ -138,7 +138,13 @@ impl Builder {
/// .unwrap();
/// ```
pub fn enable_all(&mut self) -> &mut Self {
- #[cfg(feature = "io-driver")]
+ #[cfg(any(
+ feature = "process",
+ all(unix, feature = "signal"),
+ feature = "tcp",
+ feature = "udp",
+ feature = "uds",
+ ))]
self.enable_io();
#[cfg(feature = "time")]
self.enable_time();