⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

parse_toml

Function parse_toml 

Source
pub fn parse_toml(
    input: &str,
) -> Result<BTreeMap<String, TomlValue>, KernelError>
Expand description

Parse a TOML string into a nested BTreeMap<String, TomlValue>.

Supports:

  • Key-value pairs: key = "value", key = 42, key = true
  • Sections: [section]
  • Arrays: ["a", "b", "c"]
  • Inline tables: { key = "value", key2 = 42 }