Skip to main content

Crate vanta_config

Crate vanta_config 

Source
Expand description

vanta-config — load, validate, and merge Vanta manifests.

Parses vanta.toml/config.toml into the typed model::Manifest, reports span-accurate VTA-CFG-* diagnostics on failure, and implements the precedence merge (global < project). See docs/05-configuration.md.

Re-exports§

pub use model::Manifest;

Modules§

model
The typed model for vanta.toml and ~/.vanta/config.toml.

Functions§

load_file
Load and parse a manifest file.
merge
Merge a project manifest over a global one. The project layer wins on every per-key conflict.
parse_str
Parse a manifest from TOML source. origin is used in diagnostics (a path or <string>); errors carry the line and column of the offending token.