Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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). 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 `benchmarks` directory.
- Loading branch information