watchexec-signals

Crates.iowatchexec-signals
lib.rswatchexec-signals
version4.0.0
sourcesrc
created_at2023-03-18 11:12:23.495055
updated_at2024-10-14 10:15:44.858547
descriptionWatchexec's signal types
homepage
repositoryhttps://github.com/watchexec/watchexec
max_upload_size
id813670
size16,451
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: 1382

cargo fmt