Decision Workspace
decomment vs comex vs comment-stripper-rs
Side-by-side comparison of Rust crates
45
decomment
experimentalv0.2.0
Remove comments from source text in 13 languages without touching strings, templates, or regex literals.
51
comex
experimentalv1.0.0
Fast, dependency-free comment extraction and removal for source files, with content-based syntax detection (no file extensions required).
38
comment-stripper-rs
experimentalv0.1.0
Production-grade CLI to strip comments from Rust source trees using ra-ap-rustc_lexer
Core Metrics
| decomment | comex | comment-stripper-rs | |
|---|---|---|---|
| Health Score | 45 | 51 | 38 |
| Total Downloads | 38 | 21 | 30 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 2 | 1 | 1 |
| Last Updated | 73d ago | 58d ago | 128d ago |
| Age | 2m | 1m | 4m |
Health Breakdown
decomment
Maintenance
10
Quality
15
Community
6
Popularity
2
Documentation
12
comex
Maintenance
10
Quality
18
Community
6
Popularity
2
Documentation
15
comment-stripper-rs
Maintenance
7
Quality
13
Community
6
Popularity
2
Documentation
10
Technical Details
| decomment | comex | comment-stripper-rs | |
|---|---|---|---|
| Version | 0.2.0 | 1.0.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 6 |
| Crate Size | 30KB | 41KB | 19KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.81.0 | 1.82 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •comex leads with a health score of 51/100, but none of the options score above 80.
- •decomment has the most downloads (38), suggesting wider adoption.
- •decomment, comment-stripper-rs are pre-1.0 — API may change.