watchexec-signals

Crates.iowatchexec-signals
lib.rswatchexec-signals
version3.0.0
sourcesrc
created_at2023-03-18 11:12:23.495055
updated_at2024-04-20 12:13:41.59576
descriptionWatchexec's signal types
homepage
repositoryhttps://github.com/watchexec/watchexec
max_upload_size
id813670
size16,254
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: 1359

cargo fmt