Normalize enum serialization strategy
Open
- Dominant language
- Rust
- Stars
- 4.9k
- Forks
- 432
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 173
Description
Some enums are missing the `serde` rename macro (e.g. `SystemSnapshotType`, `SnapshotCompression`), while others use`#[serde(rename_all = "lowercase")]` instead of snake_case.
All enums should use a consistent serialization strategy
Contributor guide
Research direction
Locate the definitions of SystemSnapshotType, SnapshotCompression, and the other enums, then compare their existing serde attributes. Standardize the enum serialization strategy so missing rename attributes and inconsistent lowercase versus snake_case usage are resolved across all enums; done means the enum declarations follow one consistent approach.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100