wincode
Fast bincode de/serialization with placement initialization
0.6.1
4.7M downloads/mo
#4669 most downloaded on crates.io
anza-xyz/wincode
What this package is like to depend on
Last release 13 days ago
10 Aug 2026
Ships fairly regularly
a new release about every 2 weeks
Rarely documented
notes for 5 of 30 stable releases
Nothing withdrawn
no release was ever pulled
10 months old
30 releases · first in 2025
30 releases in the last 12 months
see the full history below
Release timeline
30 releases · Sep 2025 to Aug 2026Releases
latest 30-
0.6.110 Aug 2026Release notes
Open source →What's Changed
- feat(collections): cap allocated capacity for collections with unique keys by @kskalski in #403
- chore(ctx): derive Copy + others on context::Len by @cpubot in #407
- feat(derive): Support
contextby @cpubot in #404 - fix(derive): ensure
withadapters receive appropriate lt rewrite by @cpubot in #408 - Bump wincode-derive to 0.5.1 by @cpubot in #421
- docs: clarify serialize_into partial writes by @SharkHand3 in #420
- chore(ci): fuzz-upload-action v2.1.0 by @yevshev in #423
- Bump wincode to 0.6.1 by @cpubot in #424
New Contributors
- @SharkHand3 made their first contribution in #420
Full Changelog: https://github.com/anza-xyz/wincode/compare/[email protected]@v0.6.1
-
0.6.017 Jul 2026Release notes
Open source →What's Changed
- ci: update to fuzz-upload-action v2 by @yevshev in #326
- feat: add support for bumpalo crate by @cpubot in #327
- fuzz: add missing votor types by @R9295 in #328
- ci: pin gh actions by @nbelenkov in #330
- Only add trait bounds for type params that are actually used by @IVSOP in #341
- fuzz(solana_types): assert deser => ser == orig_data by @R9295 in #342
- build(deps): bump actions/checkout from 6.0.3 to 7.0.0 by @dependabot[bot] in #344
- build(deps): bump solana-address from 2.6.0 to 2.6.1 in /fuzz by @dependabot[bot] in #338
- feat: add FromInto schema adapter for #[wincode(with = ...)] by @kskalski in #345
- build(deps): bump solana-signature from 3.4.0 to 3.4.1 in /fuzz by @dependabot[bot] in #353
- build(deps): bump solana-hash from 4.3.0 to 4.4.0 in /fuzz by @dependabot[bot] in #337
- build(deps): bump uuid from 1.23.3 to 1.23.4 in /fuzz by @dependabot[bot] in #350
- build(deps): bump solana-fee-calculator from 3.2.0 to 3.2.2 in /fuzz by @dependabot[bot] in #340
- build(deps): bump actions-rust-lang/setup-rust-toolchain from 1.16.1 to 1.17.0 by @dependabot[bot] in #354
- feat(containers): add public encode_from_iter by @kskalski in #346
- fix: bv::BitVec canonical decoding by @cpubot in #347
- fix(derive): avoid wrap in init count for large structs by @cpubot in #355
- fix(schema):
keep_zero_copy(false)for &'a T by @cpubot in #356 - build(deps): bump actions/attest-build-provenance from 4.1.0 to 4.1.1 by @dependabot[bot] in #357
- fix(schema): mark bool SchemaWrite as zero-copy by @kskalski in #360
- fix(config)!: constrain
newwhereZERO_COPY_ALIGN_CHECK = trueby @cpubot in #361 - fix(derive)!: ensure enum discriminant tags are unique by @cpubot in #362
- build(deps): bump crossbeam-epoch to 0.9.20 by @kskalski in #364
- fix(schema): iterate elements up to iterator's declared len by @kskalski in #366
- feat(schema): add DefaultOnEmptyRead adapter by @kskalski in #363
- fix(schema): fix asymmetric application of write preallocation check by @cpubot in #367
- feat(schema): add Discard and DiscardVec adapters for ignored fields by @kskalski in #359
- build(deps): bump solana-hash from 4.4.0 to 4.5.0 in /fuzz by @dependabot[bot] in #369
- chore(derive)!: remove derive
fromattribute by @cpubot in #371 - feat(schema): impl for
(T,)by @cpubot in #372 - feat(bv): make canonical encoding/decoding opt-in by @cpubot in #375
- chore(deps): remove solana-short-vec by @cpubot in #377
- chore(derive): remove struct_extensions attribute by @cpubot in #378
- fix: enum tag encoding overflow error for serialize_size by @kskalski in #379
- build(deps): bump uuid from 1.23.4 to 1.23.5 in /fuzz by @dependabot[bot] in #374
- fix(UninitBuilder)!: preserve generic declaration order by @cpubot in #380
- build(deps): bump syn from 2.0.117 to 2.0.119 by @dependabot[bot] in #382
- feat(io)!: rework
Readertrait to be unsafe + required method by @cpubot in #381 - perf(schema): decode SmallVec in place to avoid large stack temporary by @kskalski in #384
- fix(SystemTime): validate value in size_of to match write by @kskalski in #386
- fix(UninitBuilder)!: enforce exact field types in projections by @cpubot in #387
- Bump wincode-derive to 0.5.0 by @cpubot in #376
- Bump wincode to 0.6.0 by @cpubot in #392
New Contributors
- @yevshev made their first contribution in #326
- @R9295 made their first contribution in #328
- @IVSOP made their first contribution in #341
Full Changelog: https://github.com/anza-xyz/wincode/compare/[email protected]@v0.6.0
-
0.5.527 May 2026Release notes
Open source →What's Changed
- build(deps): bump pastey from 0.2.1 to 0.2.2 by @dependabot[bot] in #302
- chore(deps): bump darling to 0.23 by @DaniPopes in #317
- build(deps): bump solana-short-vec from 3.2.0 to 3.2.1 by @dependabot[bot] in #304
- build(deps): bump uuid from 1.23.0 to 1.23.1 by @dependabot[bot] in #297
- ci: replace app-id with client-id by @yihau in #319
- feat: impl SchemaWrite/SchemaRead for Cell/RefCell by @cpubot in #320
- feat: impl SchemaWrite/SchemaRead for Mutex/RwLock by @cpubot in #321
- Fix derive name collisions by @chen-robert in #318
- Bump wincode-derive to 0.4.6 by @cpubot in #322
- Bump wincode to 0.5.5 by @cpubot in #323
New Contributors
- @DaniPopes made their first contribution in #317
- @chen-robert made their first contribution in #318
Full Changelog: https://github.com/anza-xyz/wincode/compare/[email protected]@v0.5.5
-
0.5.415 May 2026Release notes
Open source →What's Changed
- Deprecate solana-short-vec feature by @kskalski in #305
- Use checked arithmetic for trusted read windows by @cpubot in #307
- fix(derive): Prevent 'static to lexical rewrite by @cpubot in #308
- fix(config): ensure tag encoding is preserved in helpers by @cpubot in #309
- fix(bv): finish trusted writer by @cpubot in #311
- fix(derive): reject #[repr(packed)] in UninitBuilder by @cpubot in #313
- fix(len): ensure preallocation check on ZSTs by @cpubot in #310
- fix(io): ensure Vec and Cursor<Vec> don't expose uninit mem by @cpubot in #312
- Bump wincode-derive to 0.4.5 by @cpubot in #315
- Bump wincode to 0.5.4 by @cpubot in #316
Full Changelog: https://github.com/anza-xyz/wincode/compare/[email protected]@v0.5.4
-
0.5.317 Apr 2026Release notes
Open source →What's Changed
Full Changelog: https://github.com/anza-xyz/wincode/compare/[email protected]@v0.5.3
-
0.5.215 Apr 2026Nothing published for this version
-
0.5.101 Apr 2026Nothing published for this version
-
0.5.028 Mar 2026Nothing published for this version
-
0.4.924 Mar 2026Nothing published for this version
-
0.4.816 Mar 2026Nothing published for this version
-
0.4.712 Mar 2026Nothing published for this version
-
0.4.612 Mar 2026Nothing published for this version
-
0.4.526 Feb 2026Nothing published for this version
-
0.4.412 Feb 2026Nothing published for this version
-
0.4.311 Feb 2026Nothing published for this version
-
0.4.211 Feb 2026Nothing published for this version
-
0.4.108 Feb 2026Nothing published for this version
-
0.4.007 Feb 2026Nothing published for this version
-
0.3.131 Jan 2026Nothing published for this version
-
0.3.030 Jan 2026Nothing published for this version
-
0.2.522 Dec 2025Nothing published for this version
-
0.2.419 Dec 2025Nothing published for this version
-
0.2.317 Dec 2025Nothing published for this version
-
0.2.204 Dec 2025Nothing published for this version
-
0.2.126 Nov 2025Nothing published for this version
-
0.2.026 Nov 2025Nothing published for this version
-
0.1.213 Oct 2025Nothing published for this version
-
0.1.110 Oct 2025Nothing published for this version
-
0.1.009 Oct 2025Nothing published for this version
-
0.0.028 Sep 2025Nothing published for this version