7 stable releases (4 major)

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

#356 in Unix APIs

Download history 10678/week @ 2025-05-24 12801/week @ 2025-05-31 10474/week @ 2025-06-07 8863/week @ 2025-06-14 11017/week @ 2025-06-21 9521/week @ 2025-06-28 16547/week @ 2025-07-05 20804/week @ 2025-07-12 18412/week @ 2025-07-19 16636/week @ 2025-07-26 17070/week @ 2025-08-02 16487/week @ 2025-08-09 17848/week @ 2025-08-16 15081/week @ 2025-08-23 13958/week @ 2025-08-30 13591/week @ 2025-09-06

63,085 downloads per month
Used in 35 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