rustio rustio.net

cranelift vs cranelift-codegen vs cranelift-preopt

Side-by-side comparison of Rust crates

Core Metrics

craneliftcranelift-codegencranelift-preopt
Health Score777454
Total Downloads1.6M33.9M123.7K
30d Downloads124.0K2.9M0
Dependents8474.2K0
Releases23423491
Last Updated4d ago4d ago1174d ago
Age7y 10m7y 10m7y 6m

Health Breakdown

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

Technical Details

craneliftcranelift-codegencranelift-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
Dependencies7301
Crate Size11KB1.1MB8KB
Features9203
Yanked %0.0%0.4%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.