Expand description
Storage backend trait and implementations.
The StorageBackend trait abstracts over where narinfo metadata and
compressed NAR blobs are persisted. Three implementations are provided:
LocalStorage— local filesystem (default)S3Storage— S3-compatible object storage (AWS, MinIO, R2, RustFS)StorageIndex— redb ephemeral metadata index (accelerates S3 lookups)
Re-exports§
pub use index::StorageIndex;pub use local::LocalStorage;pub use s3::S3Storage;
Modules§
- index
- redb metadata index — ephemeral local cache for S3 narinfo lookups.
- local
- Local filesystem storage backend.
- s3
- S3-compatible object storage backend.
Traits§
- Storage
Backend - Abstraction over binary cache storage.