starshard 0.5.0

A blazing-fast sharded concurrent HashMap using hashbrown and RwLock, with lazy shards, atomic length cache, and async support.
Documentation
[dependencies.hashbrown]
default-features = false
version = "0.16"

[dependencies.rayon]
optional = true
version = "1"

[dependencies.rustc-hash]
version = "2.1.1"

[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.228"

[dependencies.tokio]
features = ["sync", "rt-multi-thread"]
optional = true
version = "1.47.1"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1.47.1"

[features]
async = ["dep:tokio"]
default = ["rayon"]
full = ["async", "rayon", "serde"]
rayon = ["dep:rayon", "hashbrown/rayon"]
serde = ["dep:serde", "hashbrown/serde"]

[lib]
name = "starshard"
path = "src/lib.rs"

[package]
authors = ["houseme <housemecn@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["concurrency", "data-structures"]
description = "A blazing-fast sharded concurrent HashMap using hashbrown and RwLock, with lazy shards, atomic length cache, and async support."
documentation = "https://docs.rs/starshard"
edition = "2024"
homepage = "https://houseme.github.io/starshard"
keywords = ["concurrency", "hashmap", "hashbrown", "rwlock", "async"]
license = "MIT OR Apache-2.0"
name = "starshard"
readme = "README.md"
repository = "https://github.com/houseme/starshard"
resolver = "2"
version = "0.5.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]