engram/lib.rs
1//! Engram is an asynchronous two-tier cache.
2//!
3//! Values are kept deserialized in an in-memory Moka cache and persisted as
4//! serialized blobs in SQLite. L2 rows may be Zstandard-compressed.
5
6mod compression;
7mod config;
8mod engine;
9mod error;
10mod memory;
11mod storage;
12
13pub use config::{Compression, EngramBuilder, SqliteSynchronous};
14pub use engine::{CacheEntry, CacheKey, CacheMetadata, CacheTier, Engram};
15pub use error::{Error, Result};