Skip to content

Version 0.9.1

Compare
Choose a tag to compare
@Voultapher Voultapher released this 03 Aug 19:43
· 81 commits to main since this release

This release brings 2 core changes:

  • panic inside a builder function no longer causes a memory leak.

This means that the previously documented workaround using try_new and
catch_unwind has become obsolete and the relevant example has been deleted.

  • Limited support for owners with non static lifetimes. This mostly works with the exception of automatic derives, due to technical limitations (aka I can't figure out how to do it). See the documentation for details.

Bug fixes:

  • An esoteric edge case could cause UB, see bb2f502 for more details.

  • Defining your own Result could break the macro due to hygiene issues, see #16 (comment).

In addition a set of benchmarks comparing self_cell to ouroboros have been added, see the benchmarks directory.