Rust Serde

Serde as the boundary where untrusted input becomes a domain type — rename_all, default, skip_serializing_if, flatten, the four enum representations, deny_unknown_fields, and try_from validation. Use when deriving Serialize or Deserialize, when choosing an enum wire representation, when a JSON or YAML shape does not match the Rust type, or when the user asks how to validate deserialized data.

rewrite-rs 59ab31d 2 files · 5.4 KB Updated

File contents

rewrite-rs/skills/tree/main/skills/misc/rust-serde commit 59ab31db56

Frequently asked questions

npx skillmds@latest add rewrite-rs/rust-serde