Skip to main content

parse_toml_deps

Function parse_toml_deps 

Source
pub(crate) fn parse_toml_deps(content: &str) -> Vec<(String, Vec<String>)>
Expand description

Minimal parser for the Components.toml format used by Strat9-OS.

TODO : improve !

Handles lines of the form (one component per line):

name = { path = "...", deps = ["dep1", "dep2"] }
name = { path = "...", deps = [] }