lockmap 0.2.3

A high-performance, thread-safe HashMap and LRU cache with fine-grained per-key locking.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.75"
name = "lockmap"
version = "0.2.3"
authors = ["SF-Zhou <sfzhou.scut@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance, thread-safe HashMap and LRU cache with fine-grained per-key locking."
homepage = "https://github.com/SF-Zhou/lockmap"
readme = "README.md"
keywords = [
    "hashmap",
    "concurrent",
    "lru",
    "cache",
    "lock",
]
categories = [
    "concurrency",
    "data-structures",
    "caching",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SF-Zhou/lockmap"

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

[[example]]
name = "lru_session_store"
path = "examples/lru_session_store.rs"

[[example]]
name = "rate_limiter"
path = "examples/rate_limiter.rs"

[[example]]
name = "singleflight"
path = "examples/singleflight.rs"

[[bench]]
name = "bench_compare"
path = "benches/bench_compare.rs"
harness = false

[[bench]]
name = "bench_lockmap"
path = "benches/bench_lockmap.rs"
harness = false

[dependencies.aliasable]
version = "0.1"

[dependencies.foldhash]
version = "0.2"

[dependencies.hashbrown]
version = "0.15"

[dependencies.parking_lot]
version = "0.12"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.dashmap]
version = "6"

[dev-dependencies.moka]
version = "0.12"
features = ["sync"]

[dev-dependencies.rand]
version = "0.10"