-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make de/serialized structs compliant with Rust naming practices (#1271)
Rather than using lowercase names for types, we can annotate structs and enums with `serde(rename_all = "snake_case")` to have serde rename things during de/serialization. That way, the code has Rust-style names in the source tree, but the serialized variants remain snake_cased.
- Loading branch information
Showing
30 changed files
with
233 additions
and
231 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
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
Oops, something went wrong.