-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #375: fix config: failed to serialize with toml
914cdc1 fix config: failed to serialize with toml (edouard) Pull request description: 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. ACKs for top commit: darosior: utACK 914cdc1 Tree-SHA512: bfd8a8b01ed4f93935ce4914bfec058935ed6c945eb5ccb94f04c576a7f012b76837d5486981962cd15846d6845f98b0f9ec505b13452ce6622ac7ecac7ecead
- Loading branch information
Showing
1 changed file
with
59 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters