NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #4187 most downloaded on crates.io
Derive macros for wincode
Latest stable
0.5.1
Last release 3 months ago
10 Aug 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 16 of 17 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
17 releases · first in 2025
Drag across the ruler to compare, or tap a release to open it.
build(deps): bump solana-nonce from 3.2.0 to 3.2.1 in /fuzz by @dependabot[bot] in https://github.com/anza-xyz/wincode/pull/401
context by @cpubot in https://github.com/anza-xyz/wincode/pull/404with adapters receive appropriate lt rewrite by @cpubot in https://github.com/anza-xyz/wincode/pull/408Full Changelog: https://github.com/anza-xyz/wincode/compare/wincode@v0.6.0...wincode-derive@v0.5.1
Only add trait bounds for type params that are actually used by @IVSOP in https://github.com/anza-xyz/wincode/pull/341
from attribute by @cpubot in https://github.com/anza-xyz/wincode/pull/371Full Changelog: https://github.com/anza-xyz/wincode/compare/wincode@v0.5.5...wincode-derive@v0.5.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
chore(deps): bump darling to 0.23 by @DaniPopes in https://github.com/anza-xyz/wincode/pull/317
Full Changelog: https://github.com/anza-xyz/wincode/compare/wincode@v0.5.4...wincode-derive@v0.4.6
fix(derive): Prevent 'static to lexical rewrite by @cpubot in https://github.com/anza-xyz/wincode/pull/308
Full Changelog: https://github.com/anza-xyz/wincode/compare/wincode@v0.5.3...wincode-derive@v0.4.5
feat(derive): support custom wincode crate path by @cpubot in https://github.com/anza-xyz/wincode/pull/299
Full Changelog: https://github.com/anza-xyz/wincode/compare/wincode@v0.5.2...wincode-derive@v0.4.4
chore: don't deny warnings during compilation by @kskalski in https://github.com/anza-xyz/wincode/pull/189
uninit_<field>_ref() to UninitBuilder by @cpubot in https://github.com/anza-xyz/wincode/pull/180SeqLen for primitive integers by @cpubot in https://github.com/anza-xyz/wincode/pull/194Full Changelog: https://github.com/anza-xyz/wincode/compare/wincode@v0.4.4...wincode-derive@v0.4.3
chore: add derive feature in wincode dev-deps by @kskalski in https://github.com/anza-xyz/wincode/pull/175
by_ref function to Reader and Writer traits by @cpubot in https://github.com/anza-xyz/wincode/pull/177Full Changelog: https://github.com/anza-xyz/wincode/compare/wincode@v0.4.3...wincode-derive@v0.4.2
Bump wincode-derive to 0.4.1 by @cpubot in https://github.com/anza-xyz/wincode/pull/173
Full Changelog: https://github.com/anza-xyz/wincode/compare/wincode@v0.4.2...wincode-derive@v0.4.1
Adding path to dependency for CI testing by @nbelenkov in https://github.com/anza-xyz/wincode/pull/125
Duration/SystemTime type metadata by @publicqi in https://github.com/anza-xyz/wincode/pull/141SchemaRead ref constraints by @cpubot in https://github.com/anza-xyz/wincode/pull/150SchemaRead and SchemaWrite implementations of NonZero types - NonZeroU8, NonZeroU16 ..... from std::num by @adpthegreat in https://github.com/anza-xyz/wincode/pull/109random export by @cpubot in https://github.com/anza-xyz/wincode/pull/156Full Changelog: https://github.com/anza-xyz/wincode/compare/wincode@v0.3.1...wincode-derive@v0.4.0
derive: Add rust version by @febo in https://github.com/anza-xyz/wincode/pull/119
Full Changelog: https://github.com/anza-xyz/wincode/compare/wincode@v0.3.0...wincode-derive@v0.3.1
Add enum benchmarks for static size optimizations by @tanmay4l in https://github.com/anza-xyz/wincode/pull/63
assert_zero_copy attribute macro by @febo in https://github.com/anza-xyz/wincode/pull/66Cursor::cur_slice implementation safe by @tobias-nd in https://github.com/anza-xyz/wincode/pull/68size_of_elem_slice has special optimizations by @tobias-nd in https://github.com/anza-xyz/wincode/pull/83unsafe blocks by @tobias-nd in https://github.com/anza-xyz/wincode/pull/84Writer implementation for [u8] by @tobias-nd in https://github.com/anza-xyz/wincode/pull/87SchemaRead and SchemaWrite trait as unsafe by @tobias-nd in https://github.com/anza-xyz/wincode/pull/86SchemaRead and SchemaWrite implementations for std::time::Duration by @tanmay4l in https://github.com/anza-xyz/wincode/pull/78SeqLen trait unsafe by @cpubot in https://github.com/anza-xyz/wincode/pull/99uuid support by @cpubot in https://github.com/anza-xyz/wincode/pull/100Writer Safety section by @tobias-nd in https://github.com/anza-xyz/wincode/pull/103SystemTime serialization and deserialization implementations by @tanmay4l in https://github.com/anza-xyz/wincode/pull/101Full Changelog: https://github.com/anza-xyz/wincode/compare/v0.2.5...wincode-derive@v0.3.0
This release adds comprehensive zero-copy support, including support user-defined types with the SchemaRead derive macro.
This release adds comprehensive zero-copy support, including support user-defined types with the SchemaRead derive macro.
wincode::serialize with serialize_into by @TanmayDhobale in https://github.com/anza-xyz/wincode/pull/55ZeroCopy for all integer types by @vadorovsky in https://github.com/anza-xyz/wincode/pull/56Full Changelog: https://github.com/anza-xyz/wincode/compare/v0.2.2...v0.2.3
feat(io): implement Writer directly for [u8] and [MaybeUninit ] by @kskalski in https://github.com/anza-xyz/wincode/pull/41
Full Changelog: https://github.com/anza-xyz/wincode/compare/v0.2.1...v0.2.2
Fix alloc import when only alloc feature enabled
Full Changelog: https://github.com/anza-xyz/wincode/compare/v0.2.0...v0.2.1
Elem is deprecated (still supported as a transparent pass-through for backwards compatibility)
This release introduces compile-time type metadata that enables optimized serialization and deserialization of types with compile-time known sizes, dramatically improving performance while simplifying the API surface. It also adds additional I/O helpers, more built-in type support, and flexible enum encoding options.
TypeMeta)A major new addition: SchemaRead and SchemaWrite now expose a TypeMeta constant that describes a type's serialized size and zero-copy capability.
Types are classified as one of:
Vec<T>, Box<[T]>)This metadata allows us to:
Static aggregates, eliding intermediate bounds checks for those chunks.Pod annotations.SchemaRead and SchemaWrite derive macros will automatically generate this metadata for your types.
In microbenchmarks, types qualifying for TypeMeta::Static and collections containing TypeMeta::Static types show 6–10× faster serialization and deserialization over v0.1.x.
Reader and Writer are now traits rather than concrete types.
This enables multiple I/O backends (slice, Cursor, Vec, etc.) and allows implementing trusted (bounds-check-elided) variants where subsets of the serialization / deserialization targets have compile-time known sizes.
SchemaRead and SchemaWrite now take impl Reader / impl Writer instead of concrete types.
Pod Inference & Deprecation of ElemThe new compile-time metadata makes manual annotation with Pod unnecessary in most cases:
Collections like Vec<T> or Box<[T]> now infer Pod automatically
Elem is deprecated (still supported as a transparent pass-through for backwards compatibility)TypeMeta InferenceEnums will be qualified as TypeMeta::Static if all variants share equal serialized size, unlocking significant performance improvements for unit enums and enums with equal sized variants.
Enums can now specify how their discriminants are encoded:
#[wincode(tag_encoding = "u8")]
enum Example { A, B }
Enums can now specify custom discriminant expressions for variants:
enum Enum {
#[wincode(tag = 1)]
A { name: String, id: u64 },
#[wincode(tag = 2)]
B(String, Vec<u8>),
#[wincode(tag = 3)]
C,
}
Added built-in implementations:
f32f64Result<T, E>ReadError and WriteError now support custom error variants.io::ReadError and io::WriteError now support std::io::Error when the std feature is enabled.repr(packed) during compile by @publicqi in https://github.com/anza-xyz/wincode/pull/10ReadError and WriteError by @qkniep in https://github.com/anza-xyz/wincode/pull/15unsafe as_trusted_for by @cpubot in https://github.com/anza-xyz/wincode/pull/26Full Changelog: https://github.com/anza-xyz/wincode/compare/v0.1.2...v0.2.0
Make #[derive(SchemaRead)] less brittle with generic lifetimes by @cpubot in https://github.com/anza-xyz/wincode/pull/4
#[derive(SchemaRead)] less brittle with generic lifetimes by @cpubot in https://github.com/anza-xyz/wincode/pull/4doc_auto_cfg was merged into doc_cfg by @cpubot in https://github.com/anza-xyz/wincode/pull/5Full Changelog: https://github.com/anza-xyz/wincode/commits/v0.1.1
Nothing published for this version
One column per month.