5 stable releases (3 major)

4.0.0 Oct 14, 2024
3.0.0 Apr 20, 2024
2.1.0 Dec 9, 2023
2.0.0 Nov 29, 2023
1.0.0 Mar 18, 2023

#583 in Filesystem

Download history 9408/week @ 2024-08-19 9247/week @ 2024-08-26 8761/week @ 2024-09-02 8542/week @ 2024-09-09 9016/week @ 2024-09-16 12192/week @ 2024-09-23 9563/week @ 2024-09-30 5238/week @ 2024-10-07 8696/week @ 2024-10-14 7496/week @ 2024-10-21 8186/week @ 2024-10-28 8757/week @ 2024-11-04 11786/week @ 2024-11-11 8523/week @ 2024-11-18 8484/week @ 2024-11-25 9520/week @ 2024-12-02

38,749 downloads per month
Used in 31 crates (11 directly)

Apache-2.0 OR MIT

16KB
225 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

~4MB
~76K SLoC