rustio rustio.net

cranelift-codegen vs cranelift vs cranelift-preopt

Side-by-side comparison of Rust crates

Core Metrics

cranelift-codegencraneliftcranelift-preopt
Health Score747754
Total Downloads28.9M1.4M123.5K
30d Downloads2.1M115.5K227
Dependents3.6K7200
Releases22022091
Last Updated7d ago7d ago1115d ago
Age7y 8m7y 8m7y 4m

Health Breakdown

cranelift-codegen
Maintenance
20
Quality
12
Community
19
Popularity
8
Documentation
15
cranelift
Maintenance
20
Quality
17
Community
18
Popularity
7
Documentation
15
cranelift-preopt
Maintenance
8
Quality
17
Community
10
Popularity
6
Documentation
13

Technical Details

cranelift-codegencraneliftcranelift-preopt
Version0.130.00.130.00.92.1
Stable (≥1.0)✗ No✗ No✗ No
LicenseApache-2.0 WITH LLVM-exceptionApache-2.0 WITH LLVM-exceptionApache-2.0 WITH LLVM-exception
Dependencies3071
Crate Size1.1MB11KB8KB
Features2093
Yanked %0.4%0.0%0.0%
Edition202420242021
MSRV1.91.01.91.0
Owners2 (team)2 (team)6 (team)

Quick Verdict

  • cranelift leads with a health score of 77/100, but none of the options score above 80.
  • cranelift-codegen has the most downloads (28.9M), suggesting wider adoption.
  • cranelift-codegen is depended on by 3.6K crates — strongest ecosystem trust.
  • ⚠ cranelift-preopt has not been updated in over a year.