7 stable releases (4 major)
new 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 |
#295 in Unix APIs
65,621 downloads per month
Used in 34 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
: enablesFromStr
support (default).miette
: enables miette (rich diagnostics) support (default).
Dependencies
~3.5MB
~67K SLoC