PackageTrack
Sign in Get early access

thread-id

Get a unique thread ID

5.1.0 45M downloads/mo #1308 most downloaded on crates.io ruuda/thread-id

What this package is like to depend on

Last release 7 months ago

10 Jan 2026

Release timing varies

gaps range from 6 weeks to 3.0 years

Nearly every release is documented

notes for 13 of 13 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

13 releases · first in 2016

1 release in the last 12 months

see the full history below

Release timeline

13 releases · Mar 2016 to Jan 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 13
  1. 5.1.0 10 Jan 2026
    Release notes

    See changelog.md in the repository root for the details of this release.

    Open source →
    Release notes

    Released 2026-01-10.

    This release contains no functional changes compared to v5.0.0. Updating is not needed for users who do not build for Windows, nor for users who have windows-sys 0.59 in their dependency tree anyway.

    Compatibility:

    • The minimum supported Rust version is now 1.71.0. (This requirement is imposed by the windows-link crate.)
    • The i686-pc-windows-gnu target can no longer be tested, and as such is no longer guaranteed to work. i868-pc-windows-msvc is still tested.

    Changes:

    • Bump windows-sys dependency from 0.59 to 0.61.
    Open source →
  2. 5.0.0 22 Oct 2024
    Release notes

    See changelog.md in the repository root for the details of this release.

    Open source →
    Release notes

    Released 2024-10-22.

    This release contains no functional changes compared to v4.2.2. Users who have no issues with the winapi crate are not advised to update.

    Compatibility:

    • The minimum supported Rust version is now 1.60.0. (This requirement is imposed by the windows-sys crate.)

    Changes:

    • Replace the winapi dependency with windows-sys. They are functionally equivalent, however windows-sys is published first-party by Microsoft. (#19)
    • Uses Rust edition 2021 rather than 2015.
    • CI configuration is now generated with RCL, to make it easier to bump the MSRV in the future.
    • Ensures compatibility with Rust 1.60.0 through 1.82.0.
    Open source →
  3. 4.2.2 18 Jul 2024
    Release notes
    • Support SGX target.
    • Ensures compatibility with Rust 1.34.2 through 1.79.0.

    Thanks to Arash Sahebolamri for contributing to this release.

    Open source →
    Release notes

    Released 2024-07-18.

    • Support SGX target. (#18)
    • Ensures compatibility with Rust 1.34.2 through 1.79.0.

    Thanks to Arash Sahebolamri for contributing to this release.

    Open source →
  4. 4.2.1 16 Oct 2023
    Release notes
    • Remove Redox-specific dependencies in favor of the libc crate, in
      accordance with Redox' ABI stability plans 1. This makes Redox
      use the same pthreads calls as the other Unix-like platforms.
    • Ensures compatibility with Rust 1.34.2 through 1.73.0.

    Thanks to 4lDO2 for contributing to this release.

    Open source →
    Release notes

    Released 2023-10-16.

    • Remove Redox-specific dependencies in favor of the libc crate, in accordance with Redox' ABI stability plans. This makes Redox use the same pthreads calls as the other Unix-like platforms. (#15)
    • Ensures compatibility with Rust 1.34.2 through 1.73.0.

    Thanks to 4lDO2 for contributing to this release.

    Open source →
  5. 4.2.0 20 Aug 2023
    Release notes

    Changes:

    • Switch to pthread_threadid_np instead of pthread_self on Apple
      platforms. The latter was not guaranteed to be unique for the
      lifetime of the process.
    • Ensures compatibility with Rust 1.34.2 through 1.72.0.

    Thanks to Charles Hubain for contributing to this release.

    Open source →
    Release notes

    Released 2023-08-20.

    • Switch to pthread_threadid_np instead of pthread_self on Apple platforms. The latter was not guaranteed to be unique for the lifetime of the process.
    • Ensures compatibility with Rust 1.34.2 through 1.72.0.

    Thanks to Charles Hubain for contributing to this release.

    Open source →
  6. 4.1.0 15 May 2023
    Release notes

    Changes:

    • Add support for the wasm32-unknown-unknown target.
    • Ensures compatibility with Rust 1.34.2 through 1.69.0.

    Thanks to dAxpeDDa for contributing to this release.

    Open source →
    Release notes

    Released 2023-05-15.

    • Add support for the wasm32-unknown-unknown target.
    • Ensures compatibility with Rust 1.34.2 through 1.69.0.

    Thanks to dAxpeDDa for contributing to this release.

    Open source →
  7. 4.0.0 24 Mar 2021
    Release notes

    Compatibility:

    • The minimum supported Rust version is now 1.34.2.

    Changes:

    • Bump redox_syscall dependency to v0.2.
    • Ensures compatibility with Rust 1.34.2 through 1.50.0.

    Thanks to zonyitoo for contributing to this release.

    Open source →
    Release notes

    Released 2021-03-24.

    Compatibility:

    • The minimum supported Rust version is now 1.34.2.

    Changes:

    • Bump redox_syscall dependency to v0.2.
    • Ensures compatibility with Rust 1.34.2 through 1.50.0.

    Thanks to zonyitoo for contributing to this release.

    Open source →
  8. 3.3.0 23 Mar 2018
    Release notes

    Release highlights:

    • Bump winapi dependency to v0.3.
    • Add CI badges to crate metadata.
    • Ensures compatibility with Rust 1.8.0 through 1.24.0.

    Thanks to Martin Geisler and Bastien Orivel for contributing
    to this release.

    Open source →
    Release notes

    Released 2018-03-23.

    • Bump winapi dependency to v0.3.
    • Add CI badges to crate metadata.
    • Ensures compatibility with Rust 1.8.0 through 1.24.0.

    Thanks to Martin Geisler and Bastien Orivel for contributing to this release.

    Open source →
  9. 3.2.0 26 Jun 2017
    Release notes

    Release highlights:

    • Add support for the Redox operating system.
    • Ensures compatibility with Rust 1.8.0 through 1.18.0.

    Thanks to Ian Douglas Scott for contributing to this release.

    Open source →
    Release notes

    Released 2017-06-26.

    • Add support for the Redox operating system.
    • Ensures compatibility with Rust 1.8.0 through 1.18.0.

    Thanks to Ian Douglas Scott for contributing to this release.

    Open source →
  10. 3.1.0 13 May 2017
    Release notes

    Thread-ID is now dual-licensed under either the Apache 2.0 license, or
    the MIT license, at your option. This license change applies
    retroactively to all versions. This release only changes the metadata.

    Open source →
    Release notes

    Released 2017-05-13.

    • Add the MIT license as an alternative to the Apache 2.0 license. This license change applies retroactively to all versions, this is only a metadata change.
    Open source →
  11. 3.0.0 29 Oct 2016
    Release notes

    Released 2016-10-29.

    • Depend on libc only on Unix-like environments, and on kernel32-sys only on Windows. This requires Rust 1.8 or later, hence the major version bump.
    Open source →
  12. 2.0.0 09 Apr 2016
    Release notes

    Released 2016-04-09.

    • Change ID type to usize to better reflect the underlying platform IDs. This is a breaking change.
    • Allow functions to be inlined to avoid call overhead.

    Many thanks to Amanieu d'Antras for contributing to this release.

    Open source →
  13. 1.0.0 13 Mar 2016
    Release notes

    Released 2016-03-13.

    Initial release with Windows and Linux support.

    Open source →

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