static_assertions
v1.1.0 GrowingCompile-time assertions to ensure that invariants are met.
Quick Verdict
- ✕Not updated for 6+ years
- ✓Stable API (1.x for 8+ years)
- ✓Massive adoption (19.7K crates depend on it)
- ✓Tiny footprint (18KB, 0 deps)
- ✓Permissive license (MIT OR Apache-2.0)
Security
Deep Insights
22.6M downloads in the last 30 days (754.9K/day), up 29% from the previous period.
19.7K crates depend on static_assertions — it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.
The primary maintainer publishes 62 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.
The API has been stable (1.x) for over 8 years with 15 releases. This level of maturity means you can depend on it without worrying about breaking changes.
static_assertions has no external dependencies — minimal supply chain risk and fast compile times.
At 18KB, static_assertions is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include rustix, linux-raw-sys, pin-project-lite, zerocopy, futures. When high-quality crates choose static_assertions, 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 static_assertions