# DashMap

> Blazing fast concurrent HashMap for Rust

Source: https://talira.ai/catalog/dashmap-tmv09epx
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / concurrency](https://talira.ai/categories/libraries/concurrency), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: MIT[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Joel Wejdenstål](https://talira.ai/orgs/xacrimon.md)

DashMap is a concurrent hash map for Rust, built as a direct replacement for `RwLock<HashMap<K, V>>` with an API close to `std::collections::HashMap`. Every method takes `&self`, so a DashMap can sit in an `Arc` and be read and changed from many threads at once, and it's designed for speed (its author's conc-map-bench compares it with other concurrent maps). Optional features add serde and rayon support, an unstable raw shard API and arbitrary support.

## Links

- GitHub: https://github.com/xacrimon/dashmap
- Docs: https://docs.rs/dashmap

## Problems it solves

- share a HashMap between threads in Rust without wrapping it in a RwLock
- a fast concurrent map for a multithreaded Rust server
- my Rust app is slow because every thread waits on one Mutex\<HashMap\>

## 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

## Trust

Overall: 0.33 out of 1.
Signals: maintenance 0.06, adoption 0.72, momentum 0.51, community 0.67, backing 0.30, extensibility 0.00.

- latest release v6.2.2 39 days ago
- 4.2k GitHub stars
- 47 contributors
- backed by Joel Wejdenstål

Warnings:

- last commit 21 months ago

## Alternatives

- [parking_lot](https://talira.ai/catalog/parking-lot-d6s7dv5m.md): Compact, fast mutexes, read-write locks and condition variables for Rust
- [Crossbeam](https://talira.ai/catalog/crossbeam-vgjk9mk6.md): Tools for concurrent programming in Rust: channels, queues, atomics and scoped threads
- [Rayon](https://talira.ai/catalog/rayon-v8py8bem.md): Simple work-stealing data parallelism for Rust

## Sources

[^1]: https://github.com/xacrimon/dashmap/blob/master/LICENSE (checked 28 Nov 2026)
[^2]: https://github.com/xacrimon/dashmap/blob/master/Cargo.toml (checked 28 Nov 2026)
