ic_testkit/artifacts/
mod.rs1mod cache_fs;
7mod digest;
8mod icp;
9mod tool;
10mod transaction;
11mod transaction_batch;
12mod wasm;
13mod wasm_batch;
14mod wasm_cache;
15mod workspace;
16
17#[cfg(test)]
18mod test_support;
19
20pub use cache_fs::{ArtifactCacheMaintenance, ArtifactCachePrunePolicy, ArtifactCachePruneReport};
21pub use digest::InputDigest;
22pub use icp::{
23 WatchedInputSnapshot, icp_artifact_ready_for_build, icp_artifact_ready_with_snapshot,
24};
25pub use tool::resolve_executable;
26pub use transaction::{
27 ArtifactBuildTransaction, ArtifactCacheArtifact, ArtifactCacheError, ArtifactCacheOutcome,
28 ArtifactCachePreparation, ArtifactCacheRecord, ArtifactCacheSpec, ArtifactCacheTimings,
29 ArtifactOutputValidation, prepare_artifact_cache, prune_artifact_cache,
30};
31pub use transaction_batch::{
32 ArtifactCacheBatchError, ArtifactCacheBatchOutcome, build_artifact_caches_batch,
33};
34pub use wasm::{read_wasm, wasm_artifacts_ready, wasm_path};
35pub use wasm_batch::{
36 WasmBuildBatchConfig, WasmBuildBatchProgressEvent, WasmBuildBatchReport,
37 build_wasm_canisters_cached_batch, build_wasm_canisters_cached_batch_with_config,
38 build_wasm_canisters_cached_batch_with_config_and_progress,
39 build_wasm_canisters_cached_batch_with_progress,
40};
41pub use wasm_cache::{
42 CargoBuildInput, ResolvedCargoBuildInputs, SharedIncrementalTargetInspection,
43 SharedIncrementalTargetMaintenance, SharedIncrementalTargetMaintenanceConfig,
44 SharedIncrementalTargetMaintenanceFailureMode, SharedIncrementalTargetMaintenanceOutcome,
45 SharedIncrementalTargetPrunePolicy, WasmBuildCacheMode, WasmBuildError, WasmBuildOutcome,
46 WasmBuildOutputStream, WasmBuildPhase, WasmBuildProgressConfig, WasmBuildProgressEvent,
47 WasmBuildProgressOutcome, WasmBuildProgressPhase, WasmBuildRecord, WasmBuildSpec,
48 WasmBuildTimings, WasmInputResolutionTimings, build_wasm_canisters_cached,
49 build_wasm_canisters_cached_with_progress, inspect_shared_incremental_target,
50 maintain_shared_incremental_target, maintain_shared_incremental_target_at_most_every,
51 prune_wasm_build_cache, resolve_cargo_build_inputs,
52};
53pub use workspace::{test_target_dir, workspace_root_for};