Adding new public fields to a public type can break backwards compatibility. If we exect some of the types to change as the slp spec changes, we should use the #[non-exhaustive] declaration.
I understand peppi currently doesn't make any backwards compatibility guarantees, but it's probably still a good idea.
Adding new public fields to a public type can break backwards compatibility. If we exect some of the types to change as the slp spec changes, we should use the
#[non-exhaustive]
declaration.I understand peppi currently doesn't make any backwards compatibility guarantees, but it's probably still a good idea.
https://rust-unofficial.github.io/patterns/idioms/priv-extend.html