slab
Pre-allocated storage for a uniform data type
0.4.12
854M downloads/mo
#69 most downloaded on crates.io
tokio-rs/slab
What this package is like to depend on
Last release 6 months ago
31 Jan 2026
Release timing varies
gaps range from 2 months to 2.3 years
Most releases are documented
notes for 11 of 18 stable releases
1 version withdrawn
withdrawn after publishing
11 years old
19 releases · first in 2015
1 release in the last 12 months
see the full history below
Release timeline
19 releases · Jun 2015 to Jan 2026Releases
latest 19-
0.4.1231 Jan 2026Release notes
Open source →Release notes
Open source →- Help the compiler elide copies in
try_remove()(#160) - Add security policy (#154)
- Help the compiler elide copies in
-
0.4.1108 Aug 2025 -
0.4.1015 Jun 2025 withdrawnRelease notes
Open source →- Add
Slab::get_disjoint_mut(#149) - Drop build script and
autocfgdependency (#150) - Fix redundant import warning in no_std builds (#143)
- Fix
clippy::needless_lifetimeswarning (#147) - Internal CI improvements (#141, #146)
- Add
-
0.4.922 Aug 2023 -
0.4.819 Feb 2023Release notes
Open source →- Fixed documentation about overflow (#124)
- Document panic in
get2_mut(#131) - Refactoring (#129, #132)
-
0.4.719 Jul 2022Release notes
Open source →Release notes
Open source →- Use
#[track_caller]on Rust 1.46+ (#119) - Make
Slab::newconst on Rust 1.39+ (#119)
- Use
-
0.4.602 Apr 2022Release notes
Open source →Release notes
Open source →- Add
Slab::vacant_key(#114) - Fix stacked borrows violation in
Slab::get2_unchecked_mut(#115)
- Add
-
0.4.513 Oct 2021Release notes
Open source →- Add alternate debug output for listing items in the slab (#108)
- Fix typo in debug output of IntoIter (#109)
- Impl 'Clone' for 'Iter' (#110)
-
0.4.406 Aug 2021Release notes
Open source →- Fix panic in
FromIteratorimpl (#102) - Fix compatibility with older clippy versions (#104)
- Add
try_removemethod (#89) - Implement
ExactSizeIteratorandFusedIteratorfor iterators (#92)
- Fix panic in
-
0.4.320 Apr 2021Release notes
Open source →- Add no_std support for Rust 1.36 and above (#71).
- Add
get2_mutandget2_unchecked_mutmethods (#65). - Make
shrink_to_fit()remove trailing vacant entries (#62). - Implement
FromIterator<(usize, T)>(#62). - Implement
IntoIterator<Item = (usize, T)>(#62). - Provide
size_hint()of the iterators (#62). - Make all iterators reversible (#62).
- Add
key_of()method (#61) - Add
compact()method (#60) - Add support for serde (#85)
-
0.4.211 Jan 2019 -
0.4.104 Aug 2018Release notes
Open source →- Improve
reserveandreserve_exact(#37). - Implement
DefaultforSlab(#43).
- Improve
-
0.4.002 Aug 2017Nothing published for this version
-
0.3.001 Sep 2016Nothing published for this version
-
0.2.028 Apr 2016Nothing published for this version
-
0.1.314 Dec 2015Nothing published for this version
-
0.1.223 Jul 2015Nothing published for this version
-
0.1.103 Jul 2015Nothing published for this version
-
0.1.015 Jun 2015Nothing published for this version