Registry / async / crossbeam

crossbeam

JSON →
library0.8.4rscratesunverified

Tools for concurrent programming, including channels, scoped threads, and epoch-based reclamation.

# Cargo.toml [dependencies] crossbeam = "0.8.4"
INSTALL
IMPORT
SIG · CROSSBEAM
C
crossbeam
asyncrustv0.8.4
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.

unbounded
use crossbeam::channel::unbounded;

Create an unbounded channel and send/receive a message.

use crossbeam::channel::unbounded; fn main() { let (tx, rx) = unbounded(); tx.send(42).unwrap(); println!("Received: {}", rx.recv().unwrap()); }
Debug
Known issues
gotchaThe `crossbeam` umbrella crate re-exports sub-crates; direct use of sub-crates (e.g., `crossbeam-channel`) is recommended for faster compilation.
fix
Use `crossbeam-channel`, `crossbeam-epoch`, etc. directly instead of the umbrella crate.
affects: >=0.8.0
Upgrade
Version history
0.8.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
18
Amazon
1
Resources
crossbeam — cargo add crossbeam · libregistry