mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
deps: update to Mio v1 (#6635)
This commit is contained in:
parent
90b23a9584
commit
754a1fb03c
@ -92,7 +92,7 @@ pin-project-lite = "0.2.11"
|
|||||||
|
|
||||||
# Everything else is optional...
|
# Everything else is optional...
|
||||||
bytes = { version = "1.0.0", optional = true }
|
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 }
|
parking_lot = { version = "0.12.0", optional = true }
|
||||||
|
|
||||||
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
||||||
|
@ -2,7 +2,7 @@ use std::fmt;
|
|||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
/// An address associated with a Tokio Unix socket.
|
/// 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 {
|
impl SocketAddr {
|
||||||
/// Returns `true` if the address is unnamed.
|
/// Returns `true` if the address is unnamed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user