Registry / async / spmc
library0.3.0rscratesunverified

Simple SPMC channel.

# Cargo.toml [dependencies] spmc = "0.3.0"
INSTALL
IMPORT
SIG · SPMC
S
spmc
asyncrustv0.3.0
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 spmc::channel;

Creates an SPMC channel and sends/receives a message.

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

No known issues recorded.

Upgrade
Version history
0.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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