toml_to_flat

Function toml_to_flat 

Source
fn toml_to_flat(toml_str: &str) -> PrefsMap
Expand description

Parse a TOML string into a flat PrefsMap. Top-level sections become either a nested JSON value (for “window”) or their inner keys are promoted to flat top-level keys using SECTION_MAP.