You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Minor Changes
#176f117505 Thanks @plutohan! - Honor custom variant discriminators when rendering enums. When any variant declares a discriminator, the enum is rendered with #[repr(u8)], #[borsh(use_discriminant = true)] and an explicit value on every variant (omitted ones fall back to their position), so the generated Borsh layout matches the program instead of numbering variants from zero.
Patch Changes
#878c7c2e8 Thanks @piliugin-anton! - Include num-traits in the synced Cargo.toml whenever num-derive is used, since the code derived by num-derive depends on it.