5 stable releases (3 major)
4.0.0 | Oct 14, 2024 |
---|---|
3.0.0 | Apr 20, 2024 |
2.1.0 | Dec 9, 2023 |
2.0.0 | Nov 29, 2023 |
1.0.0 | Mar 18, 2023 |
#583 in Filesystem
38,749 downloads per month
Used in 31 crates
(11 directly)
16KB
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