Treentern
This is an interning library.
Basic usage
let a = "Hello, World".intern;
let b = "Hello, World".intern;
assert_eq!;
As compared to other implementations, this library aims to need no unsafe code.
It does this by having a separate arena for every type that implements the Intern trait.
Still, it is probably a better choice to pick another interning library (for now), as this is mostly written as a way to learn how interning works.