Voultapher / self_cell

Safe-to-use proc-macro-free self-referential structs in stable Rust.
Apache License 2.0
242 stars 15 forks source link

Update the comparison to Ourouboros in the README #40

Closed Shnatsel closed 1 year ago

Shnatsel commented 1 year ago

Ourouboros has a fundamental soundness problem acknowledged by the author, and the author recommends using self_cell in place of ourouboros.

https://github.com/joshua-maros/ouroboros/issues/88

Voultapher commented 1 year ago

Thanks for the heads-up, I created a PR https://github.com/Voultapher/self_cell/pull/41 that changes that section. Please let me know if this fixes this issue. Also I'm glad that I didn't assume 'static lifetime replacement is a valid way to store the value.