Skip to content

Commit 754a1fb

Browse files
deps: update to Mio v1 (#6635)
1 parent 90b23a9 commit 754a1fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tokio/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ pin-project-lite = "0.2.11"
9292

9393
# Everything else is optional...
9494
bytes = { version = "1.0.0", optional = true }
95-
mio = { version = "0.8.9", optional = true, default-features = false }
95+
mio = { version = "1.0.1", optional = true, default-features = false }
9696
parking_lot = { version = "0.12.0", optional = true }
9797

9898
[target.'cfg(not(target_family = "wasm"))'.dependencies]

tokio/src/net/unix/socketaddr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::fmt;
22
use std::path::Path;
33

44
/// An address associated with a Tokio Unix socket.
5-
pub struct SocketAddr(pub(super) mio::net::SocketAddr);
5+
pub struct SocketAddr(pub(super) std::os::unix::net::SocketAddr);
66

77
impl SocketAddr {
88
/// Returns `true` if the address is unnamed.

0 commit comments

Comments
 (0)