# 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.70.0"
name = "cachelito-async"
version = "0.15.0"
authors = ["josepdcs <[email protected]>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async caching library with LRU/FIFO/LFU/ARC/Random eviction policies for async/await functions"
homepage = "https://github.com/josepdcs/cachelito"
documentation = "https://docs.rs/cachelito-async"
readme = "README.md"
keywords = [
    "cache",
    "async",
    "lru",
    "lfu",
    "memoization",
]
categories = [
    "caching",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/josepdcs/cachelito"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.cachelito-async-macros]
version = "0.15.0"

[dependencies.cachelito-core]
version = "0.15.0"

[dependencies.dashmap]
version = "6.1"

[dependencies.once_cell]
version = "1.19"

[dependencies.parking_lot]
version = "0.12"

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