-
Notifications
You must be signed in to change notification settings - Fork 80
/
Cargo.toml
43 lines (35 loc) · 1.21 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "ctrlc"
version = "3.4.5"
authors = ["Antti Keränen <[email protected]>"]
description = "Easy Ctrl-C handler for Rust projects"
documentation = "https://detegr.github.io/doc/ctrlc"
homepage = "https://github.com/Detegr/rust-ctrlc"
keywords = ["ctrlc", "signal", "SIGINT"]
categories = ["os"]
license = "MIT/Apache-2.0"
repository = "https://github.com/Detegr/rust-ctrlc.git"
exclude = ["/.travis.yml", "/appveyor.yml"]
edition = "2021"
readme = "README.md"
rust-version = "1.69.0"
[target.'cfg(unix)'.dependencies]
nix = { version = "0.29", default-features = false, features = ["fs", "signal"]}
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.59", features = ["Win32_Foundation", "Win32_System_Threading", "Win32_Security", "Win32_System_Console"] }
[target.'cfg(windows)'.dev-dependencies]
windows-sys = { version = "0.59", features = ["Win32_Storage_FileSystem", "Win32_Foundation", "Win32_System_IO", "Win32_System_Console"] }
[features]
termination = []
[[test]]
harness = false
name = "main"
path = "tests/main/mod.rs"
[[test]]
harness = false
name = "issue_97"
path = "tests/main/issue_97.rs"
[dev-dependencies]
signal-hook = "0.3"
[badges]
maintenance = { status = "passively-maintained" }