const_fn
v0.4.12 GrowingA lightweight attribute for easy generation of const functions with conditional compilations.
Quick Verdict
- โActively maintained (updated 24d ago)
- !Pre-1.0: API may have breaking changes
- โTrusted by 136 crates
- โTiny footprint (14KB, 0 deps)
- โPermissive license (Apache-2.0 OR MIT)
Security
Deep Insights
1.7M downloads in the last 30 days (55.1K/day), up 37% from the previous period.
136 crates depend on const_fn. Reasonable ecosystem adoption, though not yet a core dependency.
The primary maintainer publishes 118 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.
Despite being 7+ years old, const_fn hasn't reached 1.0 yet. Expect potential API changes between versions.
const_fn has no external dependencies โ minimal supply chain risk and fast compile times.
At 14KB, const_fn is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include x86_64, utcnow, typed_floats, awint_internals, awint_core. When high-quality crates choose const_fn, 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 const_fn