TOML Versions
TOML v1.1.0
TOML v1.1.0 has not been officially released yet, but Tombi supports v1.1.0-preview
.
Tombi's formatter shows its true power with v1.1.0
.
While many existing systems (Cargo.toml, pyproject.toml) use v1.0.0
.
🗒️Note
To use v1.1.0-preview
, you need to specify the configuration in tombi.toml
.
🗒️Note
tombi.toml
supports v1.1.0-preview
as the default version.
TOML Version Control
Tombi determines the TOML version for the target file in the following order of priority.
- The value of
toml-version
specified in[[schemas]]
of Config - The value specified in
x-tombi-toml-version
on the root object of JSON Schema - The value of
toml-version
specified in the root of Config