8 stable releases (4 major)
| 5.0.1 | Jan 20, 2026 |
|---|---|
| 5.0.0 | May 15, 2025 |
| 4.0.1 | Feb 9, 2025 |
| 4.0.0 | Oct 14, 2024 |
| 1.0.0 | Mar 18, 2023 |
#2 in #watchexec
52,679 downloads per month
Used in 49 crates
(19 directly)
17KB
227 lines
watchexec-signals
Watchexec's signal type.
- API documentation.
- Licensed under Apache 2.0 or MIT.
- Status: maintained.
use std::str::FromStr;
use watchexec_signals::Signal;
fn main() {
assert_eq!(Signal::from_str("SIGINT").unwrap(), Signal::Interrupt);
}
Features
serde: enables serde support.fromstr: enablesFromStrsupport (default).miette: enables miette (rich diagnostics) support (default).
Dependencies
~3.5MB
~68K SLoC