watchexec-signals

Crates.iowatchexec-signals
lib.rswatchexec-signals
version5.0.0
created_at2023-03-18 11:12:23.495055+00
updated_at2025-05-15 06:03:48.34202+00
descriptionWatchexec's signal types
homepage
repositoryhttps://github.com/watchexec/watchexec
max_upload_size
id813670
size21,150
Félix Saparelli (passcod)

documentation

https://docs.rs/watchexec-signals

README

watchexec-signals

Watchexec's signal type.

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: enables FromStr support (default).
  • miette: enables miette (rich diagnostics) support (default).
Commit count: 1473

cargo fmt