Expand description
Foundational types shared across every model family.
This module owns the low-level contracts that do not belong to a specific package, catalog, install, or reporting concept. Keep the types here small, strongly typed, and dependency-light because many higher-level records use them transitively.
The most important sub-areas are:
config: configuration sections and value provenanceerror: the canonicalModelErrorused by parse and validation codedeployment: deployment outcome metadata shared by install and reporting codehash: checksum algorithm metadata and legacy algorithm detectionidentifiers: strongly typed package/catalog identifiersvalidation: the sharedValidatetrait and helper functionsversion: semver-backed version parsing and normalization
Re-exports§
pub use config::ConfigSection;pub use config::ConfigValue;pub use config::ConfigValueSource;pub use deployment::DeploymentKind;pub use error::ModelError;pub use hash::HashAlgorithm;pub use identifiers::BucketName;pub use identifiers::CatalogId;pub use identifiers::PackageName;pub use validation::Validate;pub use version::Version;
Modules§
- config
- Configuration view models and value provenance.
- deployment
- error
- Canonical error type for model parsing, validation, and contract checks.
- hash
- Hash algorithm metadata used by catalog, install, and inventory code.
- identifiers
- validation
- Shared validation helpers for model invariants.
- version
- Semver-backed version values with WinGet-friendly normalization.