7 stable releases (4 major)
| 5.0.0 | May 15, 2025 |
|---|---|
| 4.0.1 | Feb 9, 2025 |
| 4.0.0 | Oct 14, 2024 |
| 3.0.0 | Apr 20, 2024 |
| 1.0.0 | Mar 18, 2023 |
#356 in Unix APIs
63,085 downloads per month
Used in 35 crates
(12 directly)
17KB
226 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
~67K SLoC