simple-arena
A simple but fast arena allocator for a single type. Using it allows you to allocate structs that are guaranteed to have the same lifetime. This is useful for data structures that need to be able to cyclically reference each other, like trees. The downside is that you can't deallocate individual entries, you can deallocate the whole arena at once.
Examples
use Arena;
The arena can also be used to allocate structs that contain references to other structs in the arena using Cell.
use Arena;
use Cell;
Alternatives
Do you need some more features like iterators: typed-arena
Do you need to allocate multiple types: bumpalo