As of Serde v1.0.186, it is impossible to have incompatible versions of serde
and serde_derive
.[1] Therefore, it is now recommended to separately depend on serde
and serde_derive
, as that can save three seconds of compilation time (which adds up).
1 See serde-rs/serde#2588