Skip to content

Releases: udoprog/musli

0.0.81

26 Oct 06:07
Compare
Choose a tag to compare

What's Changed

  • zerocopy: Support discriminant expressions by @udoprog in #42
  • Implement endian-sensitive primitives by @udoprog in #43

Full Changelog: 0.0.80...0.0.81

0.0.80

19 Oct 10:56
Compare
Choose a tag to compare

Additions

  • musli-zerocopy now has an API which is more or less feature complete. All though changes are very likely to come in the future.

Full Changelog: 0.0.72...0.0.80

0.0.72

15 Oct 23:44
Compare
Choose a tag to compare

What's Changed

  • Implement support for calculating padding by @udoprog in #39
  • Implement SwissTable map for musli-zerocopy by @udoprog in #40
  • zerocopy: Deny structs which have sneaky fields by @udoprog in #41

Full Changelog: 0.0.53...0.0.72

0.0.53

10 Oct 16:34
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.0.52...0.0.53

0.0.51

09 Oct 17:23
Compare
Choose a tag to compare

What's Changed

  • More documentation by @udoprog in #36
  • Start work on zero copy support in #35
  • Stop depending on arrayvec in #33
  • Add support for custom allocations in #31
  • Remove checked_shr that will never fail by @caibear in #21

Full Changelog: 0.0.48...0.0.51

0.0.48

18 May 06:05
Compare
Choose a tag to compare

Changed

  • Much more extensive documentation on design and safety.
  • Make it so that if the simdutf8 feature is disabled, any related unsafe is removed with it.

0.0.46

18 May 00:20
Compare
Choose a tag to compare

Some performance work has been done in this release, and fuzz testing has been extended to ensure we don't have any regressions in correctly serializing tuples.

Internally a single binary can now be used for fuzz testing and flamegraph work, the --iter <iter> parameters has been added to control how many iterations the fuzzer should run for.

Added

  • Documentation and example binary testing and showcasing how Musli's abstractions can successfully shed away.
  • Writer implementation for &mut [u8], allowing for treating mutable byte slices as writers.
  • CString now implements Encode and Decode.

0.0.44

16 May 19:31
Compare
Choose a tag to compare

Changed

  • Added support for visitors to decode any type which does not require the use of Decoder::type_hint and should reduce runtime cost #11.

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.