|
3.0.0
| 2024年4月20日 |
|
2.1.0
| 2023年12月9日 |
|
2.0.0
| 2023年11月29日 |
|
1.0.1
|
2023年11月26日
|
|
1.0.0
| 2023年3月18日 |
#494 in 编码
34,730 每月下载量
用于 29 个crate (10 直接)
watchexec-signals
Watchexec的信号类型。
use std::str::FromStr;
use watchexec_signals::Signal;
fn main() {
assert_eq!(Signal::from_str("SIGINT").unwrap(), Signal::Interrupt);
}
特性
serde:启用serde支持。
fromstr:启用 FromStr 支持(默认)。
miette:启用 miette(丰富诊断)支持(默认)。