autocfg
v1.5.1 StableAutomatic cfg for Rust compiler features
Quick Verdict
- ✓Actively maintained (updated 52d ago)
- ✓Stable API (1.x for 8+ years)
- ✓Massive adoption (1.1K crates depend on it)
- ✓Tiny footprint (19KB, 0 deps)
- ✓Permissive license (Apache-2.0 OR MIT)
Security
Deep Insights
79.8M downloads in the last 30 days (2.7M/day), up 1% from the previous period.
1.1K crates depend on autocfg. Strong ecosystem adoption means battle-tested code and long-term stability.
The API has been stable (1.x) for over 8 years with 18 releases. This level of maturity means you can depend on it without worrying about breaking changes.
autocfg has no external dependencies — minimal supply chain risk and fast compile times.
At 18KB, autocfg is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include num-traits, memoffset, async-io, matrixmultiply, fs-err. When high-quality crates choose autocfg, 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