v1.6.0
As of this version, smol-toml now supports the newly released TOML 1.1.0 specification!
Highlights
Multiline inline tables
TOML 1.1.0 now allows inline tables to have newlines, as well as trailing commas.
database = {
driver = "postgresql",
server = {
host = "127.0.0.1",
port = 3307,
},
}Omitting seconds in datetime and time
TOML 1.1.0 renders the seconds component of time elements optional.
datetime-tz = 1979-05-27 07:32Z
datetime = 2001-09-21 10:17
time = 13:37
New string escapes
Strings now support 2 additional escape sequences:
\xHHfor code points between 0 and 255\efor the escape character (U+001B)
What's Changed
- feat: toml 1.1 support by @cyyynthia in #49
Full Changelog: v1.5.2...v1.6.0