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 2026Releases
latest 13-
5.1.010 Jan 2026Release notes
Open source →See changelog.md in the repository root for the details of this release.
Release notes
Open source →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-sys0.59 in their dependency tree anyway.Compatibility:
- The minimum supported Rust version is now 1.71.0.
(This requirement is imposed by the
windows-linkcrate.) - The
i686-pc-windows-gnutarget can no longer be tested, and as such is no longer guaranteed to work.i868-pc-windows-msvcis still tested.
Changes:
- Bump
windows-sysdependency from 0.59 to 0.61.
- The minimum supported Rust version is now 1.71.0.
(This requirement is imposed by the
-
5.0.022 Oct 2024Release notes
Open source →See changelog.md in the repository root for the details of this release.
Release notes
Open source →Released 2024-10-22.
This release contains no functional changes compared to v4.2.2. Users who have no issues with the
winapicrate are not advised to update.Compatibility:
- The minimum supported Rust version is now 1.60.0.
(This requirement is imposed by the
windows-syscrate.)
Changes:
- Replace the
winapidependency withwindows-sys. They are functionally equivalent, howeverwindows-sysis 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.
- The minimum supported Rust version is now 1.60.0.
(This requirement is imposed by the
-
4.2.218 Jul 2024Release notes
Open source →- Support SGX target.
- Ensures compatibility with Rust 1.34.2 through 1.79.0.
Thanks to Arash Sahebolamri for contributing to this release.
Release notes
Open source →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.
-
4.2.116 Oct 2023Release notes
Open source →- 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.
Release notes
Open source →Released 2023-10-16.
- Remove Redox-specific dependencies in favor of the
libccrate, 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.
- Remove Redox-specific dependencies in favor of the libc crate, in
-
4.2.020 Aug 2023Release notes
Open source →Changes:
- Switch to
pthread_threadid_npinstead ofpthread_selfon 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.
Release notes
Open source →Released 2023-08-20.
- Switch to
pthread_threadid_npinstead ofpthread_selfon 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.
- Switch to
-
4.1.015 May 2023Release notes
Open source →Changes:
- Add support for the
wasm32-unknown-unknowntarget. - Ensures compatibility with Rust 1.34.2 through 1.69.0.
Thanks to dAxpeDDa for contributing to this release.
Release notes
Open source →Released 2023-05-15.
- Add support for the
wasm32-unknown-unknowntarget. - Ensures compatibility with Rust 1.34.2 through 1.69.0.
Thanks to dAxpeDDa for contributing to this release.
- Add support for the
-
4.0.024 Mar 2021Release notes
Open source →Compatibility:
- The minimum supported Rust version is now 1.34.2.
Changes:
- Bump
redox_syscalldependency to v0.2. - Ensures compatibility with Rust 1.34.2 through 1.50.0.
Thanks to zonyitoo for contributing to this release.
Release notes
Open source →Released 2021-03-24.
Compatibility:
- The minimum supported Rust version is now 1.34.2.
Changes:
- Bump
redox_syscalldependency to v0.2. - Ensures compatibility with Rust 1.34.2 through 1.50.0.
Thanks to zonyitoo for contributing to this release.
-
3.3.023 Mar 2018Release notes
Open source →Release highlights:
- Bump
winapidependency 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.Release notes
Open source →Released 2018-03-23.
- Bump
winapidependency 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.
- Bump
-
3.2.026 Jun 2017Release notes
Open source →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.
Release notes
Open source →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.
-
3.1.013 May 2017Release notes
Open source →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.Release notes
Open source →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.
-
3.0.029 Oct 2016Release notes
Open source →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.
-
2.0.009 Apr 2016Release notes
Open source →Released 2016-04-09.
- Change ID type to
usizeto 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.
- Change ID type to
-
1.0.013 Mar 2016