1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! A high-performance, concurrent, sync/async cache designed for flexibility
//! and support for non-cloneable values.
//!
//! # Features
//! - **High Concurrency**: Built with a sharded architecture to minimize lock contention.
//! - **Sync & Async**: Provides both blocking synchronous and non-blocking `async` APIs.
//! - **Non-Clone Support**: Stores values in an `Arc<V>`, avoiding `V: Clone` bounds.
//! - **Rich Policies**: Time-to-Live (TTL), Time-to-Idle (TTI), and advanced
//! eviction strategies like TinyLFU.
//! - **Observability**: Exposes detailed metrics for monitoring cache performance.
//! - **Persistence**: Optional `serde` feature for saving and loading cache state.
// Public modules that form the API
// Internal, crate-only modules
// mod backpressure;
// Re-export the primary user-facing types for convenience
pub use CacheBuilder;
pub use Entry;
pub use AsyncEntry;
pub use BuildError;
pub use ;
pub use ;
pub use MetricsSnapshot;
pub use TaskSpawner;