watchexec-signals

Crates.iowatchexec-signals
lib.rswatchexec-signals
version
sourcesrc
created_at2023-03-18 11:12:23.495055+00
updated_at2025-02-09 10:12:23.591228+00
descriptionWatchexec's signal types
homepage
repositoryhttps://github.com/watchexec/watchexec
max_upload_size
id813670
Cargo.toml error:TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
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: 1439

cargo fmt