Decision Workspace
caret-highlight vs cargo-snip vs cfg-expr
Side-by-side comparison of Rust crates
50
caret-highlight
experimentalv0.2.2
Build and render rustc-style highlighted code snippets
43
cargo-snip
experimentalv0.1.0
one line per rust compile error, with the fix rustc already computed
73
cfg-expr
growingv0.20.10
A parser and evaluator for Rust `cfg()` expressions.
Core Metrics
| caret-highlight | cargo-snip | cfg-expr | |
|---|---|---|---|
| Health Score | 50 | 43 | 73 |
| Total Downloads | 65 | 16 | 110.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 406 |
| Releases | 5 | 1 | 52 |
| Last Updated | 11d ago | 31d ago | 8d ago |
| Age | 17d | 1m | 6y 9m |
Health Breakdown
caret-highlight
Maintenance
15
Quality
15
Community
6
Popularity
2
Documentation
12
cargo-snip
Maintenance
11
Quality
14
Community
5
Popularity
1
Documentation
12
cfg-expr
Maintenance
21
Quality
17
Community
12
Popularity
8
Documentation
15
Technical Details
| caret-highlight | cargo-snip | cfg-expr | |
|---|---|---|---|
| Version | 0.2.2 | 0.1.0 | 0.20.10 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 2 | 3 |
| Crate Size | 24KB | 12KB | 46KB |
| Features | 1 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 1.85 | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cfg-expr leads with a health score of 73/100, but none of the options score above 80.
- •cfg-expr is depended on by 406 crates — strongest ecosystem trust.