Skip to content

Commit

Permalink
deps: update to Mio v1 (#6635)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasdezeeuw authored Jul 23, 2024
1 parent 90b23a9 commit 754a1fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tokio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pin-project-lite = "0.2.11"

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

[target.'cfg(not(target_family = "wasm"))'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tokio/src/net/unix/socketaddr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::fmt;
use std::path::Path;

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

impl SocketAddr {
/// Returns `true` if the address is unnamed.
Expand Down

0 comments on commit 754a1fb

Please sign in to comment.