Complete reference for every public item in
iqdb-quantize, with examples. Status: pre-1.0. Sections marked (planned) describe the intended surface as it lands across the 0.x series.
- Overview
- Tier 1 — the lazy path (planned: 0.2)
- Tier 2 — the configured path (planned: 0.3)
- Tier 3 — traits
- Errors
- Feature flags
iqdb-quantize compresses f32 vectors into smaller representations while preserving search quality. A million 768-dim vectors drop from ~3 GB to as little as ~96 MB, trading a controlled amount of recall for memory.
Documented as the 0.2 foundation lands.
Documented at 0.3.
The trait seams custom backends plug into. Documented as they stabilise.
Domain error type built on error-forge (#[non_exhaustive]). Variants documented at 0.2.
| Feature | Default | Description |
|---|---|---|
std |
yes | Standard library. |
serde |
no | Serialization support. |
Copyright © 2026 James Gober.