lazy_static
v1.5.1 StableA macro for declaring lazily evaluated statics in Rust.
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
Deep Insights
79.3M downloads in the last 30 days (2.6M/day), up 15% from the previous period.
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.
The primary maintainer publishes 312 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.
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.
Only 3 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 14KB, lazy_static is lightweight. Small crate size correlates with focused, well-scoped functionality.
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
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on lazy_static