7 stable releases (4 major)

new 5.0.0 May 15, 2025
4.0.1 Feb 9, 2025
4.0.0 Oct 14, 2024
3.0.0 Apr 20, 2024
1.0.0 Mar 18, 2023

#295 in Unix APIs

Download history 10459/week @ 2025-01-23 10962/week @ 2025-01-30 10920/week @ 2025-02-06 11248/week @ 2025-02-13 10152/week @ 2025-02-20 9466/week @ 2025-02-27 7959/week @ 2025-03-06 11151/week @ 2025-03-13 12278/week @ 2025-03-20 13833/week @ 2025-03-27 13533/week @ 2025-04-03 13933/week @ 2025-04-10 15625/week @ 2025-04-17 17576/week @ 2025-04-24 15207/week @ 2025-05-01 14404/week @ 2025-05-08

65,621 downloads per month
Used in 34 crates (12 directly)

Apache-2.0 OR MIT

17KB
226 lines

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).

Dependencies

~3.5MB
~67K SLoC