Skip to content

Releases: hashmismatch/packed_struct.rs

0.10.1

16 Nov 14:12
2dcd782
Compare
Choose a tag to compare

What's Changed

  • Clippy lint the generated code in tests by @rudib in #84
  • Update bitvec dependency, clippy fixes by @rudib in #95
  • Update bitvec dependency by @iulianR in #94

New Contributors

Full Changelog: 0.10.0...v0.10.1

0.10.0

15 Sep 22:06
0994bd7
Compare
Choose a tag to compare
  • First release with partial support for const generics in byte-width types. Now requires at least Rust 1.51.

0.6.1

10 Sep 22:05
5e331f6
Compare
Choose a tag to compare
  • Fixed a Rust compiler warning with unused mutable slices

0.6.0

27 Jun 21:59
ce26caf
Compare
Choose a tag to compare
  • Fixed the values for PrimitiveEnum's implicitly enumerated discriminators (#75)
  • Added an error hint to use the correct attribute in structs vs fields (#74 by @rhn )
  • Added an example for nested packed structures (by @rhn, #76)

0.5.0

28 Jan 21:42
51f779d
Compare
Choose a tag to compare
  • Bundled the derive macros with the main crate, so no dependency to the codegen crate is needed anymore
  • Updated the edition to Rust 2018
  • Fixed support for signed short-bit width integers (#63)

0.4.0

02 Dec 22:52
c29621a
Compare
Choose a tag to compare
  • Updated to "1.0" releases of syn and quote packages (#53)
  • The PackedStruct trait is not generic anymore, the size of the array has been moved into an associated type. Thus a single struct can only be serialized into a particular output size
  • The main pack() trait method now returns a Result type for potential failures in packing
  • Added support for tuple packing of slices, with support for a single dynamically sized packing type, like a vector of packable structs
  • Added crate features for generating larger types for the built-in packing arrays, byte_types_64 and byte_types_256
  • Moved serde support to an optional feature named use_serde
  • The Integer wrapper now implements Eq and Hash traits (#55)
  • Migrated to Github Actions for CI

0.3.1

27 Oct 21:31
d638b98
Compare
Choose a tag to compare

Big-endian platforms fix