PackageTrack
Sign in Get early access

memoffset

offset_of functionality for Rust structs.

0.9.1 703M downloads/mo #119 most downloaded on crates.io Gilnaa/memoffset

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships fairly regularly

a new release about every 5 months

Some releases are documented

notes for 6 of 20 stable releases

3 versions withdrawn

withdrawn after publishing

9 years old

23 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

23 releases · Oct 2017 to Mar 2024
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 23
  1. 0.9.1 26 Mar 2024
    Release notes

    Changelog:

    • Turn library into a thin wrapper over std::mem::offset_of! when
      possible
    Open source →
    Release notes

    Added

    • Added changelog

    Changed

    • Clarify documentation about macro indirection
    • Turn the crate into a thin stdlib wrapper on rustc>=1.77
    • Turn unstable_offset_of and unstable_const into NOPs; they are not needed any more on recent nightlies
    Open source →
  2. 0.9.0 19 May 2023
    Release notes

    Changelog:

    • Added support for unstable std offset-of polyfill (PR#72)
    Open source →
    Release notes

    Added

    • Cargo feature unstable_offset_of which turns the crate into a stdlib polyfill
    Open source →
  3. 0.8.0 15 Dec 2022
    Release notes

    Support for const-eval on stable

    Open source →
    Release notes

    Changed

    • Constant-evaluation is automatically enabled
    Open source →
  4. 0.7.1 17 Oct 2022
    Release notes

    Re-publish with updated README

    Open source →
    Release notes

    Changed

    • Version in README.md
    Open source →
  5. 0.7.0 17 Oct 2022
    Release notes

    Support unions and update docs:

    Open source →
    Release notes

    Added

    • offset_of_union!
    Open source →
  6. 0.6.5 03 Dec 2021
    Release notes

    Removed

    • [nightly] #![feature(const_raw_ptr_deref, const_maybe_uninit_as_ptr)]
    Open source →
  7. 0.6.4 27 May 2021

    Nothing published for this version

  8. 0.6.3 28 Mar 2021

    Nothing published for this version

  9. 0.6.2 25 Mar 2021

    Nothing published for this version

  10. 0.6.1 23 Oct 2020

    Nothing published for this version

  11. 0.6.0 23 Oct 2020 withdrawn

    Nothing published for this version

  12. 0.5.6 20 Sep 2020

    Nothing published for this version

  13. 0.5.5 01 Jul 2020

    Nothing published for this version

  14. 0.5.4 16 Mar 2020

    Nothing published for this version

  15. 0.5.3 07 Nov 2019

    Nothing published for this version

  16. 0.5.2 31 Oct 2019

    Nothing published for this version

  17. 0.5.1 15 Jul 2019

    Nothing published for this version

  18. 0.5.0 14 Jul 2019

    Nothing published for this version

  19. 0.4.0 04 Jul 2019 withdrawn

    Nothing published for this version

  20. 0.3.0 15 Mar 2019 withdrawn

    Nothing published for this version

  21. 0.2.1 15 Jan 2018

    Nothing published for this version

  22. 0.2.0 13 Jan 2018

    Nothing published for this version

  23. 0.1.0 17 Oct 2017

    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