starshard 2.2.1

A blazing-fast sharded concurrent HashMap using hashbrown and RwLock, with lazy shards, atomic length cache, async support, conditional operations, batch operations, TTL/metrics/transactions.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Serde support for Starshard maps.
//!
//! - [`sync_serde`] — `Serialize` / `Deserialize` impls for `ShardedHashMap`.
//! - [`async_snapshot`] — serializable snapshot wrapper for
//!   `AsyncShardedHashMap` (behind `async` + `serde` features).

use super::*;

pub(crate) mod sync_serde;

#[cfg(feature = "async")]
pub(crate) mod async_snapshot;

#[cfg(all(feature = "async", feature = "serde"))]
pub use async_snapshot::AsyncShardedHashMapSnapshot;