Skip to main content

parse_and_validate

Function parse_and_validate 

Source
pub fn parse_and_validate(text: &str, path: &Path) -> Result<Config, LoadError>
Expand description

Parse + validate a TOML string. fs/CLI-free, so hot reload can reuse it.