8 stable releases (4 major)

5.0.1 Jan 20, 2026
5.0.0 May 15, 2025
4.0.1 Feb 9, 2025
4.0.0 Oct 14, 2024
1.0.0 Mar 18, 2023

#2 in #watchexec

Download history 21480/week @ 2026-02-21 19370/week @ 2026-02-28 20605/week @ 2026-03-07 20931/week @ 2026-03-14 20837/week @ 2026-03-21 23545/week @ 2026-03-28 19648/week @ 2026-04-04 17055/week @ 2026-04-11 18863/week @ 2026-04-18 14993/week @ 2026-04-25 8621/week @ 2026-05-02 12272/week @ 2026-05-09 12690/week @ 2026-05-16 14689/week @ 2026-05-23 11443/week @ 2026-05-30 11668/week @ 2026-06-06

52,679 downloads per month
Used in 49 crates (19 directly)

Apache-2.0 OR MIT

17KB
227 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
~68K SLoC