Expand description
Disk artifact cache for zccache.
Provides content-addressed storage for compilation artifacts, backed by
the filesystem with an in-memory ArtifactIndex snapshotted to a bincode
blob (index.bin) for metadata and eviction.
Re-exports§
pub use kv::is_valid_namespace;pub use kv::Key;pub use kv::KvError;pub use kv::KvResult;pub use kv::KvStore;pub use kv::INLINE_THRESHOLD;pub use kv::MAX_VALUE_BYTES;
Modules§
- kv
- Namespaced blake3-keyed key/value store backed by redb.
Structs§
- Artifact
Index - Lightweight metadata stored in the index for each cached artifact.
- Artifact
Store - In-memory artifact index backed by a periodic bincode blob on disk.
- Artifact
Store Config - Configuration for the artifact store.
- Artifact
Store Legacy - The artifact store manages cached compilation outputs on disk.
- Rust
Artifact Bundle Manifest - Manifest for zccache-owned Rust artifact bundles.
- Rust
Artifact Plan V1 - Versioned v1 Rust artifact cache plan.
- Rust
Bundled Artifact - File stored in a Rust artifact bundle.
- Rust
Plan Artifact Effectiveness - Artifact restore effectiveness, independent from compile-cache hit rate.
- Rust
Plan Compatibility - Compatibility section in a machine-readable summary.
- Rust
Plan Inputs - Input hashes that affect Cargo build outputs.
- Rust
Plan Packages - Package IDs selected or excluded by the planner.
- Rust
Plan Skipped Sample - Representative skipped artifact.
- Rust
Plan Summary - Machine-readable operation summary for soldr/setup-soldr.
- Rust
Toolchain Identity - Toolchain identity supplied by soldr.
Enums§
- Rust
Artifact Class - Artifact classes that a plan may allow.
- Rust
Plan Error - Errors returned by plan loading and execution.
- Rust
Plan Mode - Rust artifact plan mode.
- Rust
Plan Operation - Backend operation represented in summaries.
Constants§
- RUST_
ARTIFACT_ CACHE_ SCHEMA_ VERSION - Supported cache bundle schema version.
- RUST_
ARTIFACT_ PLAN_ SCHEMA_ VERSION - Supported Rust artifact plan schema version.
Functions§
- restore_
rust_ plan_ local - Execute local bundle restore for a validated plan.
- rust_
plan_ bundle_ dir - Bundle directory for a plan cache key.
- rust_
plan_ cache_ key - Compute the stable cache key for a plan.
- save_
rust_ plan_ local - Execute local bundle save for a validated plan.