Skip to content

Commit

Permalink
Version 0.9.1
Browse files Browse the repository at this point in the history
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
Voultapher committed Aug 3, 2021
1 parent 8ed4f42 commit 9a49032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "self_cell"
version = "0.9.0"
version = "0.9.1"
authors = ["Lukas Bergdoll <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
Expand Down

0 comments on commit 9a49032

Please sign in to comment.