Registry / networking / tokio-uds

tokio-uds

JSON →
library0.2.7rscratesunverified

Unix Domain sockets for Tokio, enabling async IPC on Unix systems.

# Cargo.toml [dependencies] tokio-uds = "0.2.7"
INSTALL
IMPORT
SIG · TOKIO-UDS
T
tokio-uds
networkingrustv0.2.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

UnixListener
use tokio_uds::UnixListener;

Bind a Unix domain socket listener with Tokio.

use tokio_uds::UnixListener; use tokio::prelude::*; fn main() { let listener = UnixListener::bind("/tmp/socket").unwrap(); // ... }
Debug
Known issues
breakingThis crate is deprecated; use tokio::net::UnixListener instead.
fix
Replace tokio-uds with tokio's built-in UnixListener (requires tokio feature "net").
affects: >=0.2.0
Upgrade
Version history
0.2.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
38
Resources
tokio-uds — cargo add tokio-uds · libregistry