Serde Code Review for Rust
Reviews Rust serialization logic to ensure data integrity, API stability, and idiomatic use of the Serde framework.
The Serde Code Review skill provides specialized automated auditing for Rust projects using the Serde ecosystem. It meticulously analyzes serialization and deserialization patterns across structs and enums, identifying common pitfalls such as key collisions, incorrect tagging, and missing attributes. By enforcing best practices for field renaming and round-trip correctness, it helps developers maintain stable API contracts and ensures seamless compatibility with the Rust 2024 edition and database integrations like SQLx.
주요 기능
01Validates Serde attribute macros and field configurations for correctness
02Audits enum tagging and representation for API wire format stability
03Checks Rust 2024 edition compatibility including reserved keywords like 'gen'
04Verifies round-trip serialization integrity to prevent data loss
05Aligns serialization logic with SQLx database type representations
0664 GitHub stars
사용 사례
01Upgrading legacy Rust codebases to the 2024 edition without breaking serialization
02Ensuring complex enum structures are correctly tagged for external consumers
03Auditing REST or GraphQL API data models for wire format consistency