shared-state 0.1.2

Concurrent state utilities — readiness gates, TTL caches, shared counters, type aliases
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 = "2024"
rust-version = "1.85"
name = "shared-state"
version = "0.1.2"
build = false
exclude = ["/target"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Concurrent state utilities — readiness gates, TTL caches, shared counters, type aliases"
readme = "README.md"
keywords = [
    "state",
    "concurrency",
    "cache",
]
categories = ["rust-patterns"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/WyattAu/shared-state"

[package.metadata.layers]
tier = "L1"

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

[[test]]
name = "config_matrix"
path = "tests/config_matrix.rs"

[[test]]
name = "proptest"
path = "tests/proptest.rs"

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

[dependencies.dashmap]
version = "6"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

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

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

[target."cfg(loom)".dependencies.loom]
version = "0.7"

[lints.clippy]
expect_used = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "forbid"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]