6 stable releases (3 major)
new 4.0.1 | Feb 9, 2025 |
---|---|
4.0.0 | Oct 14, 2024 |
3.0.0 | Apr 20, 2024 |
2.1.0 | Dec 9, 2023 |
1.0.0 | Mar 18, 2023 |
#655 in Filesystem
39,551 downloads per month
Used in 32 crates
(11 directly)
17KB
225 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
~4MB
~76K SLoC