| Crates.io | watchexec-signals |
| lib.rs | watchexec-signals |
| version | 5.0.0 |
| created_at | 2023-03-18 11:12:23.495055+00 |
| updated_at | 2025-05-15 06:03:48.34202+00 |
| description | Watchexec's signal types |
| homepage | |
| repository | https://github.com/watchexec/watchexec |
| max_upload_size | |
| id | 813670 |
| size | 21,150 |
Watchexec's signal type.
use std::str::FromStr;
use watchexec_signals::Signal;
fn main() {
assert_eq!(Signal::from_str("SIGINT").unwrap(), Signal::Interrupt);
}
serde: enables serde support.fromstr: enables FromStr support (default).miette: enables miette (rich diagnostics) support (default).