reflex-cache
reflex-cache is the core Reflex library: tiered cache, storage, embeddings/reranking, and vector DB integration.
This crate is published to crates.io as reflex-cache, but exposes its library as reflex (so downstream code can use reflex::...).
Docs: https://docs.rs/reflex-cache
Use As A Dependency
[]
= { = "reflex-cache", = "x.x.x" }
Quick Start
From this repo:
What’s Inside
cache: tiered cache orchestration (L1 exact + L2 semantic)storage: rkyv-backed storage + mmap/NVMe loadersvectordb: Qdrant client + binary quantization helpers (and mocks behindmock)embedding: embedder + reranker wiringscoring: L3 verification (cross-encoder)config: env-backed configuration types used by the server
Features
metal: Apple Silicon acceleration (passes through to model deps)cuda: NVIDIA acceleration (passes through to model deps)mock: enables mock backends for tests/examples
Build / Test
From repo root: