TOML

The TOML badge, lettered “Obvious and Minimal · Since 2013” round its band
Files
.toml
Formats as
Ur
Lints
Every rule that reads its code
In ur.toml
[format.toml]

Formatted

cart.toml, as written
# What a cart holds: each item's name, price, and quantity, and the codes that discount them.
[cart]
items = [{ name = "hammer", price = 12.5, quantity = 1 }, { name = "nail", price = 0.05, quantity = 100 }]
codes = ["SPRING", "WELCOME", "FRIENDS-AND-FAMILY"]   
ur format --style ur cart.toml
# What a cart holds: each item's name, price, and quantity, and the codes that
# discount them.
[cart]
items = [{ name = "hammer", price = 12.5, quantity = 1 },
    { name = "nail", price = 0.05, quantity = 100 }]
codes = ["SPRING", "WELCOME", "FRIENDS-AND-FAMILY"]

Try it in the playground →

Versions

Ur reads TOML as the profiles below name it. Name the versions a project targets in target; without it, Ur reads toml-1.0.

ProfileDialect
toml-1.0TOML
toml-1.1TOML