talira

Compare

DashMapparking_lotCrossbeamRayon
What it isBlazing fast concurrent HashMap for RustCompact, fast mutexes, read-write locks and condition variables for RustTools for concurrent programming in Rust: channels, queues, atomics and scoped threadsSimple work-stealing data parallelism for Rust
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.330.610.600.53
Stars41703482868213530
Last commit2025-03-052026-10-212026-11-212026-10-27
LicenceMITMIT OR Apache-2.0MIT OR Apache-2.0MIT OR Apache-2.0
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyJoel WejdenstålAmanieu d'AntrasCrossbeamrayon-rs
Features
  • drop-in replacement for RwLock<HashMap>
  • methods take &self, so it can be shared in an Arc and modified from many threads
  • HashMap-like API
  • optional serde and rayon support
  • Mutex and Once in 1 byte, Condvar and RwLock in 1 word
  • Uncontended lock and unlock in a single atomic operation
  • Adaptive spinning before parking the thread
  • Task-fair RwLock with downgradable and upgradable read locks
  • Condvar without spurious wakeups
  • Optional deadlock detection and serde support
  • multi-producer multi-consumer channels (crossbeam-channel)
  • work-stealing deques for task schedulers
  • bounded ArrayQueue and unbounded SegQueue
  • epoch-based memory reclamation for lock-free data structures
  • AtomicCell, ShardedLock, Parker, WaitGroup and Backoff
  • scoped threads that borrow from the stack
  • many features usable in no_std environments
  • parallel iterators: change iter() to par_iter()
  • work-stealing scheduler that adapts task splitting dynamically
  • join and scope for creating parallel tasks by hand
  • custom thread pools alongside the global pool
  • data-race freedom guaranteed by its APIs
Limitations
    • Its deadlock detector is experimental and disabled by default
    • Requires Rust 1.74 or newer.
    • Some subcrates carry additional licensing notices beyond MIT OR Apache-2.0.