rustio rustio.net

rustc_span vs cfg-expr vs autocfg

Side-by-side comparison of Rust crates

Core Metrics

rustc_spancfg-exprautocfg
Health Score407160
Total Downloads98.9K60.8M826.5M
30d Downloads2.2K4.4M49.8M
Dependents14344972
Releases54917
Last Updated702d ago22d ago283d ago
Age3y 6m6y 2m7y 10m

Health Breakdown

rustc_span
Maintenance
4
Quality
13
Community
7
Popularity
6
Documentation
10
cfg-expr
Maintenance
19
Quality
17
Community
12
Popularity
8
Documentation
15
autocfg
Maintenance
6
Quality
18
Community
15
Popularity
8
Documentation
13

Technical Details

rustc_spancfg-exprautocfg
Version0.1.20.20.71.5.0
Stable (≥1.0)✗ No✗ No✓ Yes
LicenseApache-2.0 OR MITMIT OR Apache-2.0Apache-2.0 OR MIT
Dependencies830
Crate Size30KB45KB19KB
Features020
Yanked %0.0%0.0%5.9%
Edition20212024
MSRV1.85.01.0
Owners112

Quick Verdict

  • cfg-expr leads with a health score of 71/100, but none of the options score above 80.
  • autocfg has the most downloads (826.5M), suggesting wider adoption.
  • autocfg is depended on by 972 crates — strongest ecosystem trust.
  • ⚠ rustc_span has not been updated in over a year.
  • rustc_span, cfg-expr are pre-1.0 — API may change.