NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #3303 most downloaded on crates.io
A safe arena allocator that supports deletion without suffering from the ABA problem by using generational indices.
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 6 weeks to 3.0 years
Nearly every release is documented
notes for 9 of 10 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
11 releases · first in 2018
Released 2023-05-22.
Released 2023-05-22.
Add a Default implementation for Arena
Released 2020-05-18.
Default implementation for Arenainsert_with and try_insert_with methods to Arena. These methods
allow creating a value while inserting it, and the function to create the
value is given the its id in the arena. For example, this allows a struct that
is in an arena to have a member field that is its id within the arena.One column per quarter.
Fixed a bug in Arena::retain where not every element was always considered for retention. See https://github.com/fitzgen/generational-arena/pull/28 fo
Released 2020-01-03.
Arena::retain where not every element was always considered
for retention. See https://github.com/fitzgen/generational-arena/pull/28 for
details.Added Arena::get_unknown_gen[_mut] methods for the rare cases where you need to get the item and Index at a given offset within the arena.
Released 2019-11-11.
Arena::get_unknown_gen[_mut] methods for the rare cases where you need
to get the item and Index at a given offset within the arena.Yanked because of bad cargo publish.
Yanked because of bad cargo publish.
The retain method now gives mutable references to the arena's items, rather than shared references. This matches Vec::retain.
Released 2019-11-04.
retain method now gives mutable references to the arena's items, rather
than shared references. This matches Vec::retain.Add methods for converting Index into and from its raw parts.
Released 2019-09-25.
Index into and from its raw parts.Add a retain method analogous to Vec::retain.
Released 2019-03-12.
retain method analogous to Vec::retain.Bad indexing into an arena will now panic with a message explaining what happened instead of the generic unwrap panic message.
Released 2019-01-22.
Added support for serde serialization and deserialization. Enable the "serde" feature to access it.
Released 2018-11-28.
serde serialization and deserialization. Enable the
"serde" feature to access it.clear method to empty an arena.drain method to iterate over items and remove them from the arena at
the same time.ExactSizeIterator, DoubleEndedIterator, and FusedIterator
for our various iterators. This also gave a nice speed up to iteration.get2_mut method to get two distinct items out of the arena mutably
at the same time.Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →