rustio rustio.net
49

ref_thread_local

v0.1.1 Growing

A macro for declaring thread-local `static`s like using both of `lazy_static!` and `RefCell`

MIT
Memory managementRust patterns #macro#lazy#static#thread#thread_local

Quick Verdict

  • โœ•Not updated for 4+ years
  • !Pre-1.0: API may have breaking changes
  • โœ“Trusted by 227 crates
  • โœ“Tiny footprint (8KB, 0 deps)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
320.3K
Dependents
227
Releases
3
Size
8KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

12.4K downloads in the last 30 days (414/day), up 72% from the previous period.

๐Ÿ”—
Moderate adoption

227 crates depend on ref_thread_local. Reasonable ecosystem adoption, though not yet a core dependency.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 7+ years old, ref_thread_local hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Zero dependencies

ref_thread_local has no external dependencies โ€” minimal supply chain risk and fast compile times.

๐Ÿ“
Compact crate

At 8KB, ref_thread_local is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include wasmer-wasi-experimental-io-devices, dqcsim, wasmer-wasix-experimental-io-devices, odra-mock-vm, html-extractor-macros. When high-quality crates choose ref_thread_local, it's a strong quality signal.

Health Breakdown

Maintenance 3/25

Recency, release consistency, active ratio

Quality 16/25

Yanked ratio, deps, size, maturity, features

Community 12/20

Reverse deps, ownership, ecosystem

Popularity 7/15

Downloads, momentum, growth trend

Documentation 11/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
242/day avg+242%
05001K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.0.0
46%
v0.1.1
46%
v0.1.0
7%

Release Timeline

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

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
227
crates depend on ref_thread_local

Similar Crates