Skip to main content

parse

Function parse 

Source
pub fn parse(toml: &str) -> SectionMap
Expand description

Parse a TOML string into a SectionMap.

Supports the subset of TOML used in rws.config.toml:

  • Array-of-tables [[X]]
  • Standard tables [X]
  • Key-value pairs (string, bool, integer, inline tables, arrays)