Skip to main content

parse_toml

Function parse_toml 

Source
pub fn parse_toml<'a>(data: &'a [u8]) -> Result<TomlConfig<'a>, &'static str>
Expand description

Parse a TOML-subset document. The returned config borrows data.

Errors are &'static str diagnostics suitable for early-boot logging.