rustio rustio.net
64

thread-id

v5.1.0 Growing

Get a unique thread ID

MIT OR Apache-2.0 Edition 2021
ConcurrencyOperating systems #thread#pthread#getcurrentthreadid

Quick Verdict

  • โœ“Stable API (5.x for 10+ years)
  • โœ“Massive adoption (1.0K crates depend on it)
  • โœ“Tiny footprint (10KB, 2 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
42.7M
Dependents
1.0K
Releases
13
Size
10KB

Deep Insights

๐Ÿ“‰
Download decline

1.7M downloads in the last 30 days, down 20% from the previous period. May indicate migration to alternatives.

๐Ÿ”—
Widely adopted

1.0K crates depend on thread-id. Strong ecosystem adoption means battle-tested code and long-term stability.

โš ๏ธ
Single maintainer risk

thread-id has only 1 owner despite 1.0K dependents. This is a bus-factor concern โ€” consider the implications for long-term support.

โœ…
Stable for 10+ years

The API has been stable (1.x) for over 10 years with 13 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐Ÿชถ
Minimal dependencies

Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

๐Ÿ“
Compact crate

At 10KB, thread-id is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include log4rs, usdt-impl, tracing-perfetto, simple-logging, flame. When high-quality crates choose thread-id, it's a strong quality signal.

Health Breakdown

Maintenance 9/25

Recency, release consistency, active ratio

Quality 20/25

Yanked ratio, deps, size, maturity, features

Community 14/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 13/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
58K/day avg-58%
020K40K60K80K4/265/146/16/197/77/24

Top Dependents

Version Adoption

v4.2.2
52%
v3.3.0
15%
v5.0.0
13%
v4.0.0
11%
v4.2.1
9%

Release Timeline

10 releasessince 2017
J
F
M
A
M
J
J
A
S
O
N
D
2017
2
2018
1
2019
2020
2021
1
2022
2023
3
2024
2
2025
2026
1
Less
More

README

Loading README...

Maintainers

Dependencies
2
direct dependencies
Dependents
1.0K
crates depend on thread-id

Similar Crates