Just a few bugfixes:
-
Skip fields with
toml:"-"
even when they're unsupported types. Previously something like this would fail to encode due tofunc
being an unsupported type:struct { Str string `toml:"str" Func func() `toml:"-"` }
-
Multiline strings can't end with
\
. This is valid:# Valid key = """ foo \ """ # Invalid key = """ foo \ """
-
Don't quote values in
TOMLMarshaler
. Previously they would always include quoting (e.g."value"
), while the entire point of this interface is to bypass that.