shiplog-cache 0.6.0

SQLite cache with TTL, inspection, and cleanup helpers for shiplog source API calls.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Public facade for shiplog cache APIs.
//!
//! Cache key construction, expiry semantics, statistics normalization, and the
//! SQLite-backed API cache live here as module-level implementation seams.

pub mod expiry;

mod key;
mod sqlite;
mod stats;

pub use key::CacheKey;
pub use sqlite::{ApiCache, CacheInspection, CacheLookup};
pub use stats::{BYTES_PER_MEGABYTE, CacheStats};