Releases: udoprog/musli
Releases · udoprog/musli
0.0.43
Added
- Added support for
#[musli(encode_only)]
and#[musli(decode_only)]
meta attributes, which limits an attribute's scope to the implementation of theEncode
andDecode
traits respectively.
Changed
- When implementing
Encoder
andDecoder
it is now required that the implementations are annoted with#[musli::encoder]
and#[musli::decoder]
respectively. This is necessary to polyfill associated type defaults sinceassociated_type_defaults
is not yet supported in stable Rust. This is necessary to ensure backwards compatibility as the traits evolve and is a prerequisite towards start moving this library towards stabilisation #10.