PackageTrack
Sign in Get early access

get-size2

Determine the size in bytes an object occupies inside RAM.

0.11.0 5.9M downloads/mo #4163 most downloaded on crates.io bircni/get-size2

What this package is like to depend on

Last release 20 days ago

03 Aug 2026

Ships fairly regularly

a new release about every 3 weeks

Most releases are documented

notes for 22 of 26 stable releases

2 versions withdrawn

withdrawn after publishing

2 years old

29 releases · first in 2024

13 releases in the last 12 months

see the full history below

Release timeline

29 releases · Sep 2024 to Aug 2026
2025 2026
Release Pre-release Withdrawn

Releases

latest 29
  1. 0.11.0 03 Aug 2026
    Release notes

    What's Changed

    Documentation

    • Overhaul the crate and derive documentation - (f03e05c) - bircni

    Features

    • [breaking] Add no_std support (#57) - (dd08267) - bircni
    • Honor field attributes on enum variant fields - (19c495e) - bircni
    • [breaking] Implement GetSize for references to unsized targets - (135967f) - bircni

    Full Changelog: 0.10.3...0.11.0

    Open source →
    Release notes

    Documentation

    • Overhaul the crate and derive documentation - (f03e05c) - bircni

    Features

    • [breaking] Add no_std support (#57) - (dd08267) - bircni
    • Honor field attributes on enum variant fields - (19c495e) - bircni
    • [breaking] Implement GetSize for references to unsized targets - (135967f) - bircni
    Open source →
  2. 0.10.3 20 Jul 2026
    Release notes

    What's Changed

    Bug Fixes

    • Gate 64-bit atomic impls behind target_has_atomic (#54) - (19e8784) - bircni
    • Use pointer-width-independent sizes in indexmap/ordermap tests (#56) - (a9982c6) - bircni

    Features

    • Add portable-atomic feature with GetSize impls for portable_atomic types - (695ade6) - bircni

    Tests

    • Register test_orx_concurrent_vec as a test case - (ccf2051) - bircni

    Ci

    • Build and test across a 64-bit and 32-bit target matrix - (58d7d39) - bircni

    Full Changelog: 0.10.2...0.10.3

    Open source →
    Release notes

    Bug Fixes

    • Gate 64-bit atomic impls behind target_has_atomic (#54) - (19e8784) - bircni
    • Use pointer-width-independent sizes in indexmap/ordermap tests (#56) - (a9982c6) - bircni

    Features

    • Add portable-atomic feature with GetSize impls for portable_atomic types - (695ade6) - bircni

    Tests

    • Register test_orx_concurrent_vec as a test case - (ccf2051) - bircni

    Ci

    • Build and test across a 64-bit and 32-bit target matrix - (58d7d39) - bircni
    Open source →
  3. 0.10.2 15 Jul 2026
    Release notes

    What's Changed

    Bug Fixes

    • Bump compact_str to 0.10 (#53) - (736f9f1) - Charlie Marsh

    New Contributors

    Full Changelog: 0.10.1...0.10.2

    Open source →
    Release notes

    Bug Fixes

    • Bump compact_str to 0.10 (#53) - (736f9f1) - Charlie Marsh
    Open source →
  4. 0.10.1 11 Jun 2026
    Release notes

    What's Changed

    Bug Fixes

    Miscellaneous Chores

    • Adjust versioning - (76ac0ca) - Nicolas

    Full Changelog: 0.10.0...0.10.1

    Open source →
    Release notes

    Bug Fixes

    • Track shared DST allocations (#52) - (9141b6a) - Micha Reiser

    Miscellaneous Chores

    • Adjust versioning - (76ac0ca) - Nicolas
    Open source →
  5. 0.10.0 05 Jun 2026
    Release notes

    What's Changed

    • feat: Add orx-concurrent-vec feature with GetSize impl for ConcurrentVec by @AlJohri in #50
    • feat: Add roaring feature with GetSize impls for RoaringBitmap and RoaringTreemap by @AlJohri in #49

    Full Changelog: 0.9.0...0.10.0

    Open source →
    Release notes

    Features

    • Add orx-concurrent-vec feature with GetSize impl for ConcurrentVec (#50) - (b509203) - Al Johri
    • Add roaring feature with GetSize impls for RoaringBitmap and RoaringTreemap (#49) - (6b411c1) - Al Johri
    Open source →
  6. 0.9.0 15 May 2026
    Release notes

    Features

    • Add parking_lot feature with GetSize + GetSizeTracker impls (#46) - (18b15c8) - Al Johri
    • Add half feature with GetSize impls for f16 and bf16 (#47) - (725777b) - Al Johri
    • Add dashmap feature with GetSize impls for DashMap and DashSet (#48) - (faf1b09) - Al Johri

    New Contributors

    Full Changelog: 0.8.0...0.9.0

    Open source →
    Release notes

    Features

    • Add parking_lot feature with GetSize + GetSizeTracker impls (#46) - (18b15c8) - Al Johri
    • Add half feature with GetSize impls for f16 and bf16 (#47) - (725777b) - Al Johri
    • Add dashmap feature with GetSize impls for DashMap and DashSet (#48) - (faf1b09) - Al Johri
    Open source →
  7. 0.8.0 20 Apr 2026
    Release notes

    Bug Fixes

    • (changelog) add space after breaking change indicator in commit message formatting - (dd2c41f) - Nicolas

    Features

    • (dependencies) update indexmap to 2.13 and ordermap to 1.1 - (af4b9dd) - Nicolas
    • (dependencies) Update hashbrown, indexmap & ordermap - (b152bfd) - Nicolas

    Tests

    • Enhance test coverage and layout - (f676529) - Nicolas
    Open source →
    Release notes

    Bug Fixes

    • (changelog) add space after breaking change indicator in commit message formatting - (dd2c41f) - Nicolas

    Features

    • (dependencies) update indexmap to 2.13 and ordermap to 1.1 - (af4b9dd) - Nicolas
    • (dependencies) Update hashbrown, indexmap & ordermap - (b152bfd) - Nicolas

    Tests

    • Enhance test coverage and layout - (f676529) - Nicolas
    Open source →
  8. 0.7.4 25 Jan 2026
    Release notes

    Bug Fixes

    • (derive) improve error handling - (ef02aef) - Nicolas
    • (sync) handle poisoned locks - (27af5ea) - Nicolas

    Refactoring

    • (get-size2) organize feature impls into separate files - (d051b56) - Nicolas
    • Refactor GetSize implementation by modularizing code into separate files - (6480486) - Nicolas
    Open source →
  9. 0.7.3 04 Dec 2025
    Release notes

    What's Changed

    • feat: Optionally implement GetSize for ordermap by @oconnor663 in #40

    New Contributors

    Full Changelog: 0.7.2...0.7.3

    Open source →
    Release notes

    Features

    • Implement GetSize for ordermap - (662fb2e) - Jack O'Connor
    Open source →
  10. 0.7.2 13 Nov 2025
    Release notes

    Full Changelog: 0.7.1...0.7.2

    Open source →
    Release notes

    Documentation

    • Update docs with correct links - (b234d70) - Nicolas
    Open source →
  11. 0.7.1 26 Oct 2025
    Release notes

    Bug Fixes

    • add missing LICENSE file in the published get-size2 crate and update authors (#36) - (b6f2970) - Ben Beasley

    Features

    • implement GetSize for RefCell<T> - (8ee6af7) - Nicolas
    Open source →
  12. 0.7.0 20 Sep 2025
    Release notes

    Features

    • [breaking] Keep size tracker alive through recursive calls to get_heap_size_with_tracker (#34) - (39a9baf) - Ibraheem Ahmed

    Miscellaneous Chores

    • set correct version for get-size-derive - (d3abc1d) - Nicolas
    Open source →
  13. 0.6.3 19 Sep 2025
    Release notes

    Features

    • update hashbrown to 0.16.0 (#35) - (551a0bb) - Ibraheem Ahmed
    Open source →
  14. 0.6.2 06 Aug 2025
    Release notes

    Bug Fixes

    • remove 'static requirement for tracked objects (#33) - (209bb8c) - Ibraheem Ahmed
    Open source →
  15. 0.6.1 26 Jul 2025
    Release notes

    Bug Fixes

    • update Cow implementation to support unsized types and add tests for heap size calculation (#31) - (45e957d) - Zhu He

    Features

    • implement GetSize for Rc and Arc slices with corresponding tests (#32) - (e32d05f) - Zhu He
    Open source →
  16. 0.6.0 23 Jul 2025
    Release notes

    Bug Fixes

    • update version for get-size-derive - (db495ea) - Nicolas
    • heap size calculation for spilled SmallVec (#28) - (e6b5381) - Micha Reiser
    • heap size calculation for spilled CompactStr (#30) - (c730c67) - Micha Reiser
    • simplify iteration over elements in heap size calculation - (5e3feda) - Nicolas

    Features

    • Add ThinVec support (#29) - (c46839c) - Micha Reiser
    Open source →
  17. 0.5.2 09 Jul 2025
    Release notes

    Features

    • Optionally implement GetSize for indexmap (#26) - (d6e3310) - Brian Janssen

    Lint

    • fix new lints in rust 1.88 - (7292f5e) - Nicolas
    Open source →
  18. 0.5.1 25 Jun 2025
    Release notes

    Bug Fixes

    • correctly determine size for enums (#24) - (3c5bd18) - Nicolas

    Miscellaneous Chores

    • add top-level heap_size function (#25) - (f3b5e6e) - Ibraheem Ahmed

    Build

    • update to newer cargo-verset to set dependency version automatically - (b1154e4) - Nicolas
    Open source →
  19. 0.5.0 25 Jun 2025
    Release notes

    Bug Fixes

    • account for padding in HashMap allocation size (#23) - (492b9d8) - Ibraheem Ahmed

    Features

    • [breaking] Impl for all Range types, while accounting for possible heap-allocations of indices. (#16) - (90d354b) - Jasper
    • Add smallvec feature (#20) - (e18b27e) - Ibraheem Ahmed
    • Add hashbrown feature (#21) - (02b5cfd) - Ibraheem Ahmed
    • Add compact-str feature (#22) - (97b6303) - Ibraheem Ahmed
    • Implement GetSize for OnceLock (#19) - (6480592) - Ibraheem Ahmed
    • implement GetSize for Box<str> (#18) - (8576eb4) - Ibraheem Ahmed
    Open source →
  20. 0.4.1 17 Jun 2025

    Nothing published for this version

  21. 0.4.0 17 Jun 2025 withdrawn
    Release notes

    Features

    • Add default impl for Range<I> (#15) - (ca4ce14) - Jasper
    • Generalize impl for Hash{Set,Map} for all Hashers (#14) - (dc825d1) - Jasper

    Build

    • prepare for rust 1.87 (#13) - (2c83579) - Nicolas
    Open source →
  22. 0.3.0 18 Apr 2025
    Release notes

    Features

    • add release scripts - (8b85a7f) - Nicolas
    • Optionally implement GetSize for bytes::Bytes (#12) - (44b5c60) - Joe Roback
    Open source →
  23. 0.2.0 09 Apr 2025

    Nothing published for this version

  24. 0.1.4 18 Mar 2025
    Release notes

    Features

    • (chrono) Optionally implement GetSize for chrono and chrono-tz (#9) - (309aab0) - Brian Janssen
    • (url) Optionally implement GetSize for url (#8) - (522be10) - Brian Janssen

    Miscellaneous Chores

    • (ci) refactor ci workflow (#10) - (f425714) - Nicolas
    Open source →
  25. 0.1.3 28 Dec 2024

    Nothing published for this version

  26. 0.1.2 14 Sep 2024
    Release notes

    Feature

    • Remove need of use get_size::GetSize for #[derive(get_size::GetSize)] (#3) - (067e8e3) - Nicolas
    Open source →
  27. 0.1.1 14 Sep 2024

    Nothing published for this version

  28. 0.1.0 14 Sep 2024 withdrawn

    Nothing published for this version

  29. 0.1.0-beta.1 13 Sep 2024 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive