Decision Workspace
cargo-llvm-lines vs cargo-expand vs cargo-llvm-cov
Side-by-side comparison of Rust crates
58
cargo-llvm-lines
growingv0.4.46
Count the number of lines of LLVM IR across all instantiations of a generic function.
70
cargo-expand
stablev1.0.122
Wrapper around rustc -Zunpretty=expanded. Shows the result of macro expansion and #[derive] expansion.
61
cargo-llvm-cov
growingv0.8.7
Cargo subcommand to easily use LLVM source-based code coverage (-C instrument-coverage).
Core Metrics
| cargo-llvm-lines | cargo-expand | cargo-llvm-cov | |
|---|---|---|---|
| Health Score | 58 | 70 | 61 |
| Total Downloads | 130.4K | 2.8M | 5.8M |
| 30d Downloads | 3.3K | 136.3K | 332.9K |
| Dependents | 0 | 36 | 271 |
| Releases | 57 | 177 | 122 |
| Last Updated | 7d ago | 7d ago | 13d ago |
| Age | 8y 5m | 9y 11m | 5y 4m |
Health Breakdown
cargo-llvm-lines
Maintenance
19
Quality
13
Community
5
Popularity
6
Documentation
15
cargo-expand
Maintenance
19
Quality
18
Community
10
Popularity
8
Documentation
15
cargo-llvm-cov
Maintenance
18
Quality
10
Community
13
Popularity
8
Documentation
12
Technical Details
| cargo-llvm-lines | cargo-expand | cargo-llvm-cov | |
|---|---|---|---|
| Version | 0.4.46 | 1.0.122 | 0.8.7 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 8 | 20 | 22 |
| Crate Size | 19KB | 33KB | 106KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 1.1% | 2.5% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.86 | 1.88 | 1.87 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cargo-expand leads with a health score of 70/100, but none of the options score above 80.
- •cargo-llvm-cov has the most downloads (5.8M), suggesting wider adoption.
- •cargo-llvm-cov is depended on by 271 crates — strongest ecosystem trust.
- •cargo-llvm-lines, cargo-llvm-cov are pre-1.0 — API may change.