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.4M28.9M123.5K
30d Downloads115.5K2.1M227
Dependents7203.6K0
Releases22022091
Last Updated7d ago7d ago1115d ago
Age7y 8m7y 8m7y 4m

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