Registry / async / mpsc
library0.2.6rscratesunverified

Multi-producer, single-consumer channel for Rust.

# Cargo.toml [dependencies] mpsc = "0.2.6"
INSTALL
IMPORT
SIG · MPSC
M
mpsc
asyncrustv0.2.6
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.

channel
use mpsc::channel;

Sends and receives a message via MPSC channel.

use mpsc::channel; fn main() { let (tx, rx) = channel::<i32>(); tx.send(42).unwrap(); println!("{:?}", rx.recv()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
22
Resources
mpsc — cargo add mpsc · libregistry