rustio rustio.net
72

lazy_static

v1.5.1 Stable

A macro for declaring lazily evaluated statics in Rust.

MIT OR Apache-2.0

Quick Verdict

  • ✓Actively maintained (updated 9d ago)
  • ✓Stable API (1.x for 11+ years)
  • ✓Massive adoption (183.7K crates depend on it)
  • ✓Tiny footprint (14KB, 3 deps)
  • ✓Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
1.0B
Dependents
183.7K
Releases
39
Size
14KB

Deep Insights

📊
Steady growth

79.3M downloads in the last 30 days (2.6M/day), up 15% from the previous period.

🏛️
Foundational crate

183.7K crates depend on lazy_static — it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.

👤
Prolific maintainer

The primary maintainer publishes 312 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

✅
Stable for 11+ years

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

🪶
Minimal dependencies

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

📐
Compact crate

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

🌟
Used by top crates

Notable dependents include tokio-rustls, sharded-slab, vcpkg, quinn-proto, clang-sys. When high-quality crates choose lazy_static, it's a strong quality signal.

Health Breakdown

Maintenance 17/25

Recency, release consistency, active ratio

Quality 21/25

Yanked ratio, deps, size, maturity, features

Community 15/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 11/15

Docs, repo, license, metadata

Download Trend

Daily downloads · last 90 days
717K/day avg-100%
01.0M2.0M3.0M8/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v1.5.0
64%
v1.4.0
34%
v1.3.0
1%
v1.5.1
0%
v1.2.0
0%

Release Timeline

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

Feature Flags

spin_no_std

README

Loading README...

Maintainers

Dependencies
3
direct dependencies
Dependents
183.7K
crates depend on lazy_static

Similar Crates