Skip to main content

parse_mise_toml

Function parse_mise_toml 

Source
pub fn parse_mise_toml(body: &str, source: &str) -> Vec<Imported>
Expand description

Parse a mise / rtx config (.mise.toml, mise.toml, .config/mise/config.toml) [tools] table. Supports the flat form (node = "20", python = ["3.12"], ruby = { version = "3.3" }) and the [tools.<name>] sub-table form (version = "20"). Pure-std line parsing — only the [tools] section is read.