Skip to main content

Crate zccache_artifact

Crate zccache_artifact 

Source
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§

ArtifactIndex
Lightweight metadata stored in the index for each cached artifact.
ArtifactStore
In-memory artifact index backed by a periodic bincode blob on disk.
ArtifactStoreConfig
Configuration for the artifact store.
ArtifactStoreLegacy
The artifact store manages cached compilation outputs on disk.
RustArtifactBundleManifest
Manifest for zccache-owned Rust artifact bundles.
RustArtifactPlanV1
Versioned v1 Rust artifact cache plan.
RustBundledArtifact
File stored in a Rust artifact bundle.
RustPlanArtifactEffectiveness
Artifact restore effectiveness, independent from compile-cache hit rate.
RustPlanCompatibility
Compatibility section in a machine-readable summary.
RustPlanInputs
Input hashes that affect Cargo build outputs.
RustPlanPackages
Package IDs selected or excluded by the planner.
RustPlanSkippedSample
Representative skipped artifact.
RustPlanSummary
Machine-readable operation summary for soldr/setup-soldr.
RustToolchainIdentity
Toolchain identity supplied by soldr.

Enums§

RustArtifactClass
Artifact classes that a plan may allow.
RustPlanError
Errors returned by plan loading and execution.
RustPlanMode
Rust artifact plan mode.
RustPlanOperation
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.