-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Labels
A-editArea: TOML editing APIArea: TOML editing APIA-outputArea: Outputting TOMLArea: Outputting TOMLC-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectations
Description
When using serde to serialize a data structure containing integers (u32, i16, etc) to TOML format, I would like the fields to be written in the generated TOML file in hexadecimal format. TOML format supports hexadecimal numbers, and this feature would make it easier to read fields such as 32-bit addresses. This may could be an option such as #[serde_with_format = "{:0X}"]
above integer-type fields.
valentinegb
Metadata
Metadata
Assignees
Labels
A-editArea: TOML editing APIArea: TOML editing APIA-outputArea: Outputting TOMLArea: Outputting TOMLC-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectations