cache_rs/meta.rs
1//! Algorithm-Specific Metadata Types (Re-exports)
2//!
3//! This module re-exports metadata types from their respective algorithm modules
4//! for backward compatibility. For new code, prefer importing directly from
5//! the algorithm module (e.g., `cache_rs::lfu::LfuMeta`).
6//!
7//! # Metadata Types
8//!
9//! | Algorithm | Metadata Type | Location |
10//! |-----------|---------------|----------|
11//! | LRU | `()` (none) | N/A |
12//! | LFU | `LfuMeta` | `cache_rs::lfu` |
13//! | LFUDA | `LfudaMeta` | `cache_rs::lfuda` |
14//! | SLRU | `SlruMeta` | `cache_rs::slru` |
15//! | GDSF | `GdsfMeta` | `cache_rs::gdsf` |
16//!
17//! # Migration Guide
18//!
19//! ```ignore
20//! // Old way (still works for backward compatibility)
21//! use cache_rs::meta::LfuMeta;
22//!
23//! // New recommended way
24//! use cache_rs::lfu::LfuMeta;
25//! ```
26
27// Re-export from algorithm modules for backward compatibility
28pub use crate::gdsf::GdsfMeta;
29pub use crate::lfu::LfuMeta;
30pub use crate::lfuda::LfudaMeta;
31pub use crate::slru::SlruMeta;