Registry / utility / evmap
library11.0.0rscratesunverified

A lock-free, eventually consistent, concurrent multi-value map.

# Cargo.toml [dependencies] evmap = "11.0.0"
INSTALL
IMPORT
SIG · EVMAP
E
evmap
utilityrustv11.0.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.

EvMap
use evmap::EvMap;

Creates an eventually consistent map, inserts a value, and reads it after refresh.

use evmap::EvMap; fn main() { let (r, mut w) = evmap::new(); w.insert(1, "value"); w.refresh(); println!("{:?}", r.get(&1)); }
Debug
Known issues
gotchaReads may return stale data until refresh is called on the write handle.
fix
Ensure write handle's refresh() is called before reading to see latest writes.
affects: >=0.1.0
Upgrade
Version history
11.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
evmap — cargo add evmap · libregistry