chronix_engine/cache/mod.rs
1//! # chronix-cache
2//!
3//! Caching layer for the Chronix time-series database.
4//!
5//! This crate provides:
6//! - [`LastValueCache`] — O(1) lookup of the most recent point per series
7//! - [`SegmentCache`] — LRU cache for decoded Arrow arrays from segments
8//! - [`MetadataCache`] — in-memory cache for segment metadata
9
10#![warn(missing_docs)]
11#![deny(unsafe_code)]
12
13pub mod error;
14pub mod lvc;
15pub mod metadata;
16pub mod segment;
17
18pub use error::CacheError;
19pub use lvc::LastValueCache;
20pub use metadata::MetadataCache;
21pub use segment::{CacheLoadError, SegmentCache};