pub struct Manifest {
pub version: Option<u32>,
pub tools: BTreeMap<String, ToolSpec>,
pub env: BTreeMap<String, EnvValue>,
pub tasks: BTreeMap<String, Task>,
pub settings: Settings,
pub registries: BTreeMap<String, Registry>,
pub workspace: Option<Workspace>,
}Expand description
A project manifest (vanta.toml) or global config (~/.vanta/config.toml).
Both share the same shape; only some tables are meaningful in each context.
Fields§
§version: Option<u32>Manifest format version marker.
tools: BTreeMap<String, ToolSpec>The declared tools.
env: BTreeMap<String, EnvValue>Environment variables injected when active (a trusted section).
tasks: BTreeMap<String, Task>The optional task runner.
settings: SettingsBehavioral settings.
registries: BTreeMap<String, Registry>Named registries that overlay the official one.
workspace: Option<Workspace>Workspace declaration (root manifest only).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Manifest
impl<'de> Deserialize<'de> for Manifest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Manifest
Auto Trait Implementations§
impl Freeze for Manifest
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnsafeUnpin for Manifest
impl UnwindSafe for Manifest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more