TOML overview
- TOML (Tom's Obvious Minimal Language) — a config format that's easier to read than JSON, more strict than YAML
- Supports: strings, integers, floats, booleans, dates, arrays, tables (sections), nested tables, inline tables
- Famous users: Rust Cargo.toml, Python pyproject.toml, Hugo static site, Helm charts
Common TOML constructs
key = "value"— top-level key/value[section]— section/table[section.subsection]— nested tablearr = [1, 2, 3]— arrayinline = { x = 1, y = 2 }— inline tabledate = 2024-01-15— RFC 3339 date