mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-14 08:11:11 +01:00
cb1cfb6bf5
Co-authored-by: Félix Saparelli <felix@passcod.name> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
CHANGELOG.md | ||
README.md | ||
release.toml |
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).