[package]
name = "kovan-map"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
description = "Lock-free concurrent hash maps using kovan memory reclamation"
keywords = ["concurrency", "hashmap", "lock-free", "wait-free"]
categories = ["concurrency", "data-structures", "no-std"]
readme.workspace = true
[lib]
name = "kovan_map"
path = "src/lib.rs"
[features]
default = ["std"]
std = []
shuttle = ["kovan/shuttle", "dep:shuttle"]
[dependencies]
kovan = { workspace = true }
foldhash = { version = "0.2" }
shuttle = { version = "0.9.1", optional = true }
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies]
wasm-bindgen-test = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
shuttle = "0.9.1"
proptest = "1.11"
rapidhash = "4.5.1"
[[bench]]
name = "perf"
harness = false
[[bench]]
name = "hopscotch_ops"
harness = false
[[test]]
name = "wasm_force_remove_test"
path = "tests/wasm/force_remove_test.rs"
[[test]]
name = "wasm_get_or_insert_test"
path = "tests/wasm/get_or_insert_test.rs"
[[test]]
name = "wasm_hashmap_test"
path = "tests/wasm/hashmap_test.rs"
[[test]]
name = "wasm_hopscotch_test"
path = "tests/wasm/hopscotch_test.rs"
[[test]]
name = "wasm_iter_api_test"
path = "tests/wasm/iter_api_test.rs"
[[test]]
name = "wasm_resize_leak_probe"
path = "tests/wasm/resize_leak_probe.rs"
[[test]]
name = "wasm_stress_test"
path = "tests/wasm/stress_test.rs"
[[bench]]
name = "hopscotch"
harness = false