From 69975fb9601bbb21659db283d888470733bae660 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Wed, 20 Nov 2019 00:05:14 -0800 Subject: Refactor the I/O driver, extracting slab to `tokio::util`. (#1792) The I/O driver is made private and moved to `tokio::io::driver`. `Registration` is moved to `tokio::io::Registration` and `PollEvented` is moved to `tokio::io::PollEvented`. Additionally, the concurrent slab used by the I/O driver is cleaned up and extracted to `tokio::util::slab`, allowing it to eventually be used by other types. --- tokio/src/net/mod.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tokio/src/net/mod.rs') diff --git a/tokio/src/net/mod.rs b/tokio/src/net/mod.rs index 50021e37..f02b6259 100644 --- a/tokio/src/net/mod.rs +++ b/tokio/src/net/mod.rs @@ -24,11 +24,6 @@ mod addr; pub use addr::ToSocketAddrs; -cfg_io_driver! { - pub mod driver; - pub mod util; -} - cfg_tcp! { pub mod tcp; pub use tcp::{TcpListener, TcpStream}; -- cgit v1.2.3