[package]
edition = "2024"
name = "txmap"
version = "3.1.5"
authors = ["stock-trek.com <stock-trek@proton.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A concurrent transactional hash map for Rust with fine-grained locking, internal mutability and composable transactions"
homepage = "https://github.com/Stock-Trek/txmap"
documentation = "https://docs.rs/txmap"
readme = "README.md"
keywords = [
"concurrent",
"hashmap",
"transactional",
"data-structures",
"locking",
]
categories = [
"data-structures",
"concurrency",
]
license = "MIT"
repository = "https://github.com/Stock-Trek/txmap"
[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"]
[lib]
name = "txmap"
path = "src/lib.rs"
[[bench]]
name = "insert"
path = "benches/insert.rs"
harness = false
[[bench]]
name = "iter"
path = "benches/iter.rs"
harness = false
[[bench]]
name = "shards"
path = "benches/shards.rs"
harness = false
[dependencies.hashbrown]
version = "0.17.1"
[dependencies.intmap]
version = "3.1.3"
[dependencies.parking_lot]
version = "0.12.5"
[dependencies.pastey]
version = "0.2.3"
[dependencies.rapidhash]
version = "4.5.1"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[dev-dependencies.rand]
version = "0.10.2"
[dev-dependencies.serde_json]
version = "1.0"