summaryrefslogtreecommitdiffstats
path: root/tokio/src/lib.rs
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2020-10-13 03:36:26 +0900
committerGitHub <noreply@github.com>2020-10-13 03:36:26 +0900
commit891de3271dc3545fb09162e578251e9977d9789c (patch)
tree0c2b4f500c0bf7dc85a78d51ac4860130329d166 /tokio/src/lib.rs
parent8880222036f37c6204c8466f25e828447f16dacb (diff)
net: merge tcp, udp, uds features to net feature (#2943)
Diffstat (limited to 'tokio/src/lib.rs')
-rw-r--r--tokio/src/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs
index 1334eb88..92d2c35d 100644
--- a/tokio/src/lib.rs
+++ b/tokio/src/lib.rs
@@ -79,9 +79,6 @@
//! - `io-util`: Enables the IO based `Ext` traits.
//! - `io-std`: Enable `Stdout`, `Stdin` and `Stderr` types.
//! - `net`: Enables `tokio::net` types such as `TcpStream`, `UnixStream` and `UdpSocket`.
-//! - `tcp`: Enables all `tokio::net::tcp` types.
-//! - `udp`: Enables all `tokio::net::udp` types.
-//! - `uds`: Enables all `tokio::net::unix` types.
//! - `time`: Enables `tokio::time` types and allows the schedulers to enable
//! the built in timer.
//! - `process`: Enables `tokio::process` types.
@@ -137,7 +134,7 @@
//! needs to `tokio::spawn` and use a `TcpStream`.
//!
//! ```toml
-//! tokio = { version = "0.2", features = ["rt-core", "tcp"] }
+//! tokio = { version = "0.2", features = ["rt-core", "net"] }
//! ```
//!
//! ## Working With Tasks