3 stable releases

2.1.0 Dec 9, 2023
2.0.0 Nov 29, 2023
1.0.1 Nov 26, 2023
1.0.0 Mar 18, 2023

#543 in Encoding

Download history 39881/week @ 2023-12-18 35900/week @ 2023-12-25 35025/week @ 2024-01-01 36322/week @ 2024-01-08 38610/week @ 2024-01-15 42416/week @ 2024-01-22 48904/week @ 2024-01-29 47248/week @ 2024-02-05 43767/week @ 2024-02-12 42630/week @ 2024-02-19 42935/week @ 2024-02-26 46069/week @ 2024-03-04 48610/week @ 2024-03-11 48473/week @ 2024-03-18 48544/week @ 2024-03-25 47919/week @ 2024-04-01

199,649 downloads per month
Used in 26 crates (9 directly)

Apache-2.0 OR MIT

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

~3MB
~62K SLoC