# 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.88"
name = "hydracache"
version = "0.35.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "User-facing HydraCache runtime crate."
homepage = "https://github.com/javaquasar/hydracache"
readme = "README.md"
keywords = [
    "cache",
    "caching",
    "async",
    "runtime",
]
categories = [
    "caching",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/javaquasar/hydracache"

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

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

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

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1.89"

[dependencies.bytes]
version = "1.11.1"

[dependencies.futures-util]
version = "0.3.32"

[dependencies.hydracache-core]
version = "0.35.0"

[dependencies.hydracache-macros]
version = "0.35.0"

[dependencies.moka]
version = "0.12.15"
features = ["future"]

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.tokio]
version = "1.52.3"
features = [
    "macros",
    "net",
    "rt-multi-thread",
    "sync",
    "time",
]

[dev-dependencies.loom]
version = "0.7.2"

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

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