Skip to content

Releases: udoprog/musli

0.0.43

16 May 09:42
Compare
Choose a tag to compare

Added

  • Added support for #[musli(encode_only)] and #[musli(decode_only)] meta attributes, which limits an attribute's scope to the implementation of the Encode and Decode traits respectively.

Changed

  • When implementing Encoder and Decoder it is now required that the implementations are annoted with #[musli::encoder] and #[musli::decoder] respectively. This is necessary to polyfill associated type defaults since associated_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.

0.0.42

14 May 21:01
Compare
Choose a tag to compare

Changed

  • Significantly improved std and alloc support, where the latter correctly allows for just depending on the alloc crate.

0.0.40

07 May 18:02
Compare
Choose a tag to compare

Added

  • Unconditional Copy implementations for all Encoding structures.

Changed

  • Document and exemplify modes in main lib.rs and README.
  • JSON packed encoding now encodes and decodes values as arrays of values.

0.0.39

26 Apr 03:22
Compare
Choose a tag to compare
0.0.39 Pre-release
Pre-release

Added

  • Added support for generic with = ... arguments (#5).

Changed

  • Adjusted derives documentation.