Sorry I did not test enough the previous PR and some cases went wrong.
The error from toml crate is quite hard to understand on first catch
Because all values in a TOML table must be
emitted before further tables are emitted,
it implies that sub structs fields
must be at the end of the parent struct, otherwise
toml returns the error ValueAfterTable
This commit add also some macro to noise
pub key fields and duration fields that
did not failed the serialization but were
written in multiple fields instead of
simple string.
Sorry I did not test enough the previous PR and some cases went wrong. The error from toml crate is quite hard to understand on first catch
Because all values in a TOML table must be emitted before further tables are emitted, it implies that sub structs fields must be at the end of the parent struct, otherwise toml returns the error ValueAfterTable
This commit add also some macro to noise pub key fields and duration fields that did not failed the serialization but were written in multiple fields instead of simple string.