6 stable releases (3 major)

4.0.1 Feb 9, 2025
4.0.0 Oct 14, 2024
3.0.0 Apr 20, 2024
2.1.0 Dec 9, 2023
1.0.0 Mar 18, 2023

#3 in #from-str

Download history 8635/week @ 2024-11-17 8371/week @ 2024-11-24 9909/week @ 2024-12-01 10875/week @ 2024-12-08 8534/week @ 2024-12-15 3277/week @ 2024-12-22 4988/week @ 2024-12-29 10627/week @ 2025-01-05 9446/week @ 2025-01-12 7950/week @ 2025-01-19 11821/week @ 2025-01-26 10206/week @ 2025-02-02 11670/week @ 2025-02-09 10960/week @ 2025-02-16 9968/week @ 2025-02-23 8109/week @ 2025-03-02

41,325 downloads per month
Used in 33 crates (11 directly)

Apache-2.0 OR MIT

17KB
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