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

#587 in Filesystem

Download history 7203/week @ 2024-07-31 9066/week @ 2024-08-07 9803/week @ 2024-08-14 8910/week @ 2024-08-21 8211/week @ 2024-08-28 10083/week @ 2024-09-04 8511/week @ 2024-09-11 9125/week @ 2024-09-18 11575/week @ 2024-09-25 8586/week @ 2024-10-02 6401/week @ 2024-10-09 8172/week @ 2024-10-16 7414/week @ 2024-10-23 8630/week @ 2024-10-30 10358/week @ 2024-11-06 9758/week @ 2024-11-13

37,529 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
~77K SLoC