[package]
name = "txmap"
version = "3.1.5"
edition = "2024"
description = "A concurrent transactional hash map for Rust with fine-grained locking, internal mutability and composable transactions"
authors = ["stock-trek.com <stock-trek@proton.me>"]
license = "MIT"
documentation = "https://docs.rs/txmap"
homepage = "https://github.com/Stock-Trek/txmap"
repository = "https://github.com/Stock-Trek/txmap"
readme = "README.md"
categories = ["data-structures", "concurrency"]
keywords = ["concurrent", "hashmap", "transactional", "data-structures", "locking"]
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
features = ["rapidhash", "serde"]
no-deps = true
targets = ["x86_64-unknown-linux-gnu"]
[features]
default = ["rapidhash"]
rapidhash = ["dep:rapidhash"]
serde = ["dep:serde"]
[dependencies]
hashbrown = "0.17.1"
intmap = "3.1.3"
parking_lot = "0.12.5"
pastey = "0.2.3"
rapidhash = { version = "4.5.1", optional = true }
serde = { version = "1.0", optional = true, features = ["derive"] }
[dev-dependencies]
criterion = { version = "0.8.2", features = ["html_reports"] }
rand = "0.10.2"
serde_json = "1.0"
[[bench]]
name = "insert"
harness = false
[[bench]]
name = "iter"
harness = false
[[bench]]
name = "shards"
harness = false