Skip to content

Releases: michaellass/aligned_box

v0.3.0

08 Jun 14:33
b724ab0

Choose a tag to compare

What changed

  • Added no_std support (by Philip Woolford @pantsman0).
  • All returned errors are now of type AlignedBoxError. This is a breaking API change.

New Contributors

Full Changelog: v0.2.1...v0.3.0

v0.2.1

27 Feb 21:14

Choose a tag to compare

New:

  • Provide methods to resize an AlignedBox<[T]> using realloc. (#2)

Improved:

  • Optimize implementation of clone().
  • Internally wrap Box in zero-cost ManuallyDrop instead of Option. (#2)

Fixed:

  • Call drop on all contained elements when AlignedBox is dropped. This bug was introduced in v0.2.0 and found by the leak sanitizer.

Internals:

  • Refactor code to reduce code duplication, making it easier to add new features.
  • Reorder some operations to comply with documentated safety requirements.
  • CI: Add runs with all available sanitizers and Miri.

v0.2.0

01 Sep 19:25

Choose a tag to compare

Entirely new design to ensure sound deallocation of memory.

v0.1.0

23 Aug 16:58

Choose a tag to compare

Publish on crates.io