Skip to main content

parse_config_contents

Function parse_config_contents 

Source
pub fn parse_config_contents(contents: &str) -> Result<BhtuneConfig>
Expand description

Parses the in-memory TOML representation of a config file.

Keeping the parser separate from filesystem discovery gives property tests and fuzz targets a narrow, side-effect-free boundary to exercise.