rustio rustio.net
67

autocfg

v1.5.1 Stable

Automatic cfg for Rust compiler features

Apache-2.0 OR MIT MSRV 1.0
Development tools::Build Utils #build#rustc#autoconf

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

Checking security advisories...
Downloads
1.1B
Dependents
1.1K
Releases
18
Size
19KB

Deep Insights

📊
Steady growth

79.8M downloads in the last 30 days (2.7M/day), up 1% from the previous period.

🔗
Widely adopted

1.1K crates depend on autocfg. Strong ecosystem adoption means battle-tested code and long-term stability.

Stable for 8+ years

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.

🪶
Zero dependencies

autocfg has no external dependencies — minimal supply chain risk and fast compile times.

📐
Compact crate

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

🌟
Used by top crates

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

Maintenance 13/25

Recency, release consistency, active ratio

Quality 18/25

Yanked ratio, deps, size, maturity, features

Community 15/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 13/15

Docs, repo, license, metadata

Download Trend

Daily downloads · last 90 days
2.2M/day avg-32%
01.0M2.0M3.0M4/265/146/16/197/77/24

Top Dependents

Version Adoption

v1.5.0
35%
v1.1.0
30%
v1.4.0
19%
v1.3.0
10%
v1.0.1
7%

Release Timeline

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

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
1.1K
crates depend on autocfg

Similar Crates