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 Downloads33.9M1.6M123.7K
30d Downloads2.9M124.0K0
Dependents4.2K8470
Releases23423491
Last Updated4d ago4d ago1174d ago
Age7y 10m7y 10m7y 6m

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.132.00.132.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.93.01.93.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 (33.9M), suggesting wider adoption.
  • cranelift-codegen is depended on by 4.2K crates — strongest ecosystem trust.
  • ⚠ cranelift-preopt has not been updated in over a year.