Hello,
I was curious about the current state of the owning_ref crate. The last main-line version was pushed to crates.io back in Oct' 2020, over 3 years ago.
In Jan' 2022, @noamtashma published this: GitHub - noamtashma/owning-ref-unsoundness: An article explaining the unsoundness I found in owning-ref and then it appears that just 3 weeks ago, they published safer_owning_ref presumably fixing those issues.
Looking into the lineage of @noamtashma 's crate, it appears to also include some soundness fixes from @steffahn made in 2021.
So... Is safer_owning_ref
safe to use? Have the soundness issues been addressed?
BTW I'm hoping this thread doesn't stray into a debate about the merits of the patterns enabled by owning_ref
. Yes it's true owning_ref is ripe for abuse, but this pattern sometimes provides the only way to avoid leaking certain implementation details. I also love @Michael-F-Bryan 's post here: Reddit - Dive into anything