Skip to content

feat: add wincode serialization as alternative to bincode - #328

Draft
kskalski wants to merge 1 commit into
solana-program:mainfrom
kskalski:ks/inteface_wincode
Draft

feat: add wincode serialization as alternative to bincode#328
kskalski wants to merge 1 commit into
solana-program:mainfrom
kskalski:ks/inteface_wincode

Conversation

@kskalski

@kskalski kskalski commented Aug 14, 2026

Copy link
Copy Markdown

Add a wincode feature to the interface crate that implements ConfigKeys (de)serialization, get_config_data and the instruction builders on top of wincode instead of bincode. The encoding is byte-identical to bincode; wincode takes precedence when both features are enabled.

Bump solana-instruction, solana-pubkey, solana-short-vec and solana-system-interface to versions exposing their wincode features, and drop the unused solana-account dependency from the interface crate.

Add a `wincode` feature to the interface crate that implements
`ConfigKeys` (de)serialization, `get_config_data` and the instruction
builders on top of wincode instead of bincode. The encoding is
byte-identical to bincode; `wincode` takes precedence when both features
are enabled.

Bump solana-instruction, solana-pubkey, solana-short-vec and
solana-system-interface to versions exposing their `wincode` features,
and drop the unused solana-account dependency from the interface crate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant