Skip to main content

runner_core/
lib.rs

1//! Pack runtime core for Greentic runner.
2//!
3//! This crate provides the building blocks required to ingest pack indexes,
4//! download pack artifacts from multiple backends, verify their integrity, and
5//! maintain an on-disk cache that other runtimes can consume. It is not meant
6//! to be embedded directly; use `greentic-runner`/`greentic-runner-host`, which
7//! wrap these helpers with the canonical runtime.
8
9pub mod env;
10pub mod packs;
11pub mod path_safety;
12
13pub use env::{IndexLocation, PackConfig, PackSource};
14pub use packs::{
15    Index, PackDigest, PackManager, PackRef, PackVersion, ResolvedPack, ResolvedSet, TenantPacks,
16};
17pub use path_safety::normalize_under_root;