Registry / utility / coco
library0.3.4rscratesunverified

Concurrent collections for lock-free data structures in Rust.

# Cargo.toml [dependencies] coco = "0.3.4"
INSTALL
IMPORT
SIG · COCO
C
coco
utilityrustv0.3.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.

Stack
use coco::Stack;

Creates a lock-free stack and pushes/pops a value.

use coco::Stack; fn main() { let stack: Stack<i32> = Stack::new(); stack.push(42); if let Some(val) = stack.pop() { println!("Popped: {}", val); } }
Debug
Known issues
gotchaSome collections may have memory ordering pitfalls
fix
Use appropriate atomic ordering or consult documentation for each collection.
affects: >=0.3.0
Upgrade
Version history
0.3.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
coco — cargo add coco · libregistry