Expand description
vanta-core — the shared vocabulary every Vanta crate speaks.
This crate defines the nouns of the system (see docs/02-architecture.md):
Request, Resolution, Artifact, StoreKey, Generation,
Platform, Scope; the trait seams that the engine is wired through
(Provider, Backend, CacheStore, SignatureVerifier,
LinkStrategy); and the VtaError taxonomy with stable VTA-<AREA>-<NNNN>
codes and process ExitCodes (see docs/25-error-and-exit-code-catalog.md).
It is the leaf of the crate dependency graph and has no third-party dependencies, so every other crate can depend on it freely.
Re-exports§
pub use error::Area;pub use error::ExitCode;pub use error::VtaError;pub use error::VtaResult;pub use platform::Arch;pub use platform::Libc;pub use platform::Os;pub use platform::Platform;pub use traits::Backend;pub use traits::CacheStore;pub use traits::LinkStrategy;pub use traits::Provider;pub use traits::SignatureVerifier;pub use types::Artifact;pub use types::Checksum;pub use types::GenId;pub use types::Generation;pub use types::Reason;pub use types::Resolution;pub use types::Scope;pub use types::StoreKey;pub use types::ToolName;pub use version::Request;pub use version::VersionReq;
Modules§
- error
- The error taxonomy: stable
VTA-<AREA>-<NNNN>codes and process exit codes. - platform
- Platform identifiers — the canonical
os/arch[/libc]tokens. - traits
- The trait seams the engine is wired through (see
docs/02-architecture.md§dependency-injection-and-extension-seams). - types
- Core value types: store keys, scopes, checksums, artifacts, resolutions, and generations.
- version
- Version requests and tool requests (the
name@versionsurface).