engram-cache 0.1.0

An asynchronous, multi-tier cache backed by Moka and SQLite
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Engram is an asynchronous two-tier cache.
//!
//! Values are kept deserialized in an in-memory Moka cache and persisted as
//! serialized blobs in SQLite. L2 rows may be Zstandard-compressed.

mod compression;
mod config;
mod engine;
mod error;
mod memory;
mod storage;

pub use config::{Compression, EngramBuilder, SqliteSynchronous};
pub use engine::{CacheEntry, CacheKey, CacheMetadata, CacheTier, Engram};
pub use error::{Error, Result};