# 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.0"
name = "scc"
version = "3.8.0"
authors = ["wvwwvwwv <wvwwvwwv@proton.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A collection of high-performance asynchronous/concurrent containers with both asynchronous and synchronous interfaces"
documentation = "https://docs.rs/scc"
readme = "README.md"
keywords = [
    "async",
    "cache",
    "concurrent",
    "hashmap",
    "tree",
]
categories = [
    "asynchronous",
    "caching",
    "concurrency",
    "data-structures",
]
license = "Apache-2.0"
repository = "https://codeberg.org/wvwwvwwv/scalable-concurrent-containers/"

[features]
loom = [
    "dep:loom",
    "saa/loom",
    "sdd/loom",
]

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

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

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

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

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

[dependencies.equivalent]
version = "1.0"
optional = true

[dependencies.loom]
version = "0.7"
features = ["checkpoint"]
optional = true

[dependencies.saa]
version = "5.6"

[dependencies.sdd]
version = "4.8"

[dependencies.serde]
version = "1.0"
optional = true

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

[dev-dependencies.fnv]
version = "1.0"

[dev-dependencies.futures]
version = "0.3"

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

[dev-dependencies.serde_test]
version = "1.0"

[dev-dependencies.static_assertions]
version = "1.1"

[dev-dependencies.tokio]
version = "1.52"
features = ["full"]
