The reflex of deriving `serde` traits

serde is a great library, and a big part of what makes it great is how easy it is to use: just derive Serialize / Deserialize and that&rsquo;s it. But because it takes zero effort to add those derives to an existing #[derive(Debug, Clone, ...)] , types often end up implementing Serialize / Deserialize accidentally, by reflex. Once some other piece of code (or another system entirely) starts…