Decision Workspace
ctrlc_fnonce vs ctrlc vs ctrlc2
Side-by-side comparison of Rust crates
34
ctrlc_fnonce
growingv0.1.0
Wrapper for ctrlc to execute a FnOnce and exit the process upon Ctrl-C.
68
ctrlc
stablev3.5.2
Easy Ctrl-C handler for Rust projects
58
ctrlc2
stablev4.0.0
Easy Ctrl-C handler version 2 for Rust projects
Core Metrics
| ctrlc_fnonce | ctrlc | ctrlc2 | |
|---|---|---|---|
| Health Score | 34 | 68 | 58 |
| Total Downloads | 1.9K | 131.5M | 251.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 31.2K | 407 |
| Releases | 1 | 43 | 25 |
| Last Updated | 2666d ago | 241d ago | 150d ago |
| Age | 7y 3m | 11y 2m | 2y 11m |
Health Breakdown
ctrlc_fnonce
Maintenance
1
Quality
15
Community
5
Popularity
4
Documentation
9
ctrlc
Maintenance
12
Quality
19
Community
14
Popularity
8
Documentation
15
ctrlc2
Maintenance
12
Quality
15
Community
12
Popularity
6
Documentation
13
Technical Details
| ctrlc_fnonce | ctrlc | ctrlc2 | |
|---|---|---|---|
| Version | 0.1.0 | 3.5.2 | 4.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | MIT/Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 1 | 5 | 9 |
| Crate Size | 6KB | 14KB | 20KB |
| Features | 0 | 1 | 2 |
| Yanked % | 0.0% | 4.7% | 24.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | 1.69.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •ctrlc leads with a health score of 68/100, but none of the options score above 80.
- •ctrlc is depended on by 31.2K crates — strongest ecosystem trust.
- •⚠ ctrlc_fnonce has not been updated in over a year.
- •ctrlc_fnonce is pre-1.0 — API may change.