Decision Workspace
signal-mod vs mod-signal vs shutdown-kit
Side-by-side comparison of Rust crates
Cross-platform OS signal handling and graceful-shutdown orchestration for Rust. One API for SIGTERM, SIGINT, SIGHUP, SIGQUIT, SIGPIPE, SIGUSR1, SIGUSR2 and the Windows console control events, with cloneable observer and initiator handles, priority-ordered shutdown hooks, and optional adapters for the Tokio and async-std runtimes.
Unified OS signal handling for Rust. SIGTERM / SIGINT / SIGHUP / SIGPIPE and Windows equivalents through one API. Graceful shutdown orchestration with priority ordering, timeout enforcement, and hook chaining. Replaces the patchwork of ctrlc + signal-hook with a clean runtime-agnostic substrate.
Graceful shutdown for Rust services — signal handling, connection draining, and RAII cleanup guards
Core Metrics
| signal-mod | mod-signal | shutdown-kit | |
|---|---|---|---|
| Health Score | 47 | 44 | 54 |
| Total Downloads | 37 | 30 | 1.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 7 |
| Releases | 1 | 1 | 4 |
| Last Updated | 144d ago | 144d ago | 10d ago |
| Age | 4m | 4m | 1m |
Health Breakdown
Technical Details
| signal-mod | mod-signal | shutdown-kit | |
|---|---|---|---|
| Version | 1.0.0 | 0.9.1 | 0.3.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | Apache-2.0 | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 10 | 10 | 7 |
| Crate Size | 74KB | 54KB | 26KB |
| Features | 5 | 5 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.75 | 1.75 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •shutdown-kit leads with a health score of 54/100, but none of the options score above 80.
- •mod-signal, shutdown-kit are pre-1.0 — API may change.