| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.69.0" |
| 15 |
name = "ctrlc" |
| 16 |
version = "3.5.2" |
| 17 |
authors = ["Antti Keränen <[email protected]>"] |
| 18 |
build = false |
| 19 |
exclude = [ |
| 20 |
"/.travis.yml", |
| 21 |
"/appveyor.yml", |
| 22 |
] |
| 23 |
autolib = false |
| 24 |
autobins = false |
| 25 |
autoexamples = false |
| 26 |
autotests = false |
| 27 |
autobenches = false |
| 28 |
description = "Easy Ctrl-C handler for Rust projects" |
| 29 |
homepage = "https://github.com/Detegr/rust-ctrlc" |
| 30 |
documentation = "https://detegr.github.io/doc/ctrlc" |
| 31 |
readme = "README.md" |
| 32 |
keywords = [ |
| 33 |
"ctrlc", |
| 34 |
"signal", |
| 35 |
"SIGINT", |
| 36 |
] |
| 37 |
categories = ["os"] |
| 38 |
license = "MIT/Apache-2.0" |
| 39 |
repository = "https://github.com/Detegr/rust-ctrlc.git" |
| 40 |
|
| 41 |
[badges.maintenance] |
| 42 |
status = "passively-maintained" |
| 43 |
|
| 44 |
[features] |
| 45 |
termination = [] |
| 46 |
|
| 47 |
[lib] |
| 48 |
name = "ctrlc" |
| 49 |
path = "src/lib.rs" |
| 50 |
|
| 51 |
[[example]] |
| 52 |
name = "issue_46_example" |
| 53 |
path = "examples/issue_46_example.rs" |
| 54 |
|
| 55 |
[[example]] |
| 56 |
name = "readme_example" |
| 57 |
path = "examples/readme_example.rs" |
| 58 |
|
| 59 |
[[test]] |
| 60 |
name = "issue_97" |
| 61 |
path = "tests/main/issue_97.rs" |
| 62 |
harness = false |
| 63 |
|
| 64 |
[[test]] |
| 65 |
name = "main" |
| 66 |
path = "tests/main/mod.rs" |
| 67 |
harness = false |
| 68 |
|
| 69 |
[dev-dependencies.signal-hook] |
| 70 |
version = "0.3" |
| 71 |
|
| 72 |
[target.'cfg(target_vendor = "apple")'.dependencies.dispatch2] |
| 73 |
version = "0.3" |
| 74 |
|
| 75 |
[target."cfg(unix)".dependencies.nix] |
| 76 |
version = "0.31" |
| 77 |
features = ["signal"] |
| 78 |
default-features = false |
| 79 |
|
| 80 |
[target."cfg(windows)".dependencies.windows-sys] |
| 81 |
version = "0.61" |
| 82 |
features = [ |
| 83 |
"Win32_Foundation", |
| 84 |
"Win32_System_Threading", |
| 85 |
"Win32_Security", |
| 86 |
"Win32_System_Console", |
| 87 |
] |
| 88 |
|
| 89 |
[target."cfg(windows)".dev-dependencies.windows-sys] |
| 90 |
version = "0.61" |
| 91 |
features = [ |
| 92 |
"Win32_Storage_FileSystem", |
| 93 |
"Win32_Foundation", |
| 94 |
"Win32_System_IO", |
| 95 |
"Win32_System_Console", |
| 96 |
] |