Skip to main content

parse

Function parse 

Source
pub fn parse(toml_text: &str) -> Result<PolicyPack, PolicyError>
Expand description

Parse one pack from TOML text (no I/O) and validate it standalone. extends is checked against the built-ins during resolve.