From 22918231814fb5591a4c0c6d5aa0c5ba8172c9c1 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Thu, 11 Jul 2019 10:27:51 -0700 Subject: [PATCH] tokio: re-export correct tokio-uds version (#1286) An earlier PR (#1282) re-exported the version from crates.io and not git master. --- tokio/Cargo.toml | 2 +- tokio/src/net.rs | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 62a4b3b80..c79b78510 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -84,7 +84,7 @@ tracing-core = { version = "0.1", optional = true } #tokio-futures = { version = "0.2.0", optional = true, path = "../tokio-futures" } [target.'cfg(unix)'.dependencies] -tokio-uds = { version = "0.2.1", optional = true } +tokio-uds = { version = "0.3.0", optional = true, path = "../tokio-uds" } [dev-dependencies] tokio-test = { path = "../tokio-test" } diff --git a/tokio/src/net.rs b/tokio/src/net.rs index 599f85518..131071d92 100644 --- a/tokio/src/net.rs +++ b/tokio/src/net.rs @@ -67,10 +67,7 @@ pub use self::udp::UdpSocket; pub mod unix { //! Unix domain socket bindings for `tokio` (only available on unix systems). - pub use tokio_uds::{ - ConnectFuture, Incoming, RecvDgram, SendDgram, UCred, UnixDatagram, UnixDatagramFramed, - UnixListener, UnixStream, - }; + pub use tokio_uds::{UCred, UnixDatagram, UnixListener, UnixStream}; } #[cfg(all(unix, feature = "uds"))] -pub use self::unix::{UnixDatagram, UnixDatagramFramed, UnixListener, UnixStream}; +pub use self::unix::{UnixDatagram, UnixListener, UnixStream};