Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str) -> Result<Config, String>
Expand description

Parses the text of a cove.toml.

Cove prefers explicit configuration over silently ignored settings, so unknown top-level tables, unknown keys inside a [run.<name>] table, and unknown keys inside [check] or [test] are rejected rather than skipped.