97 lines
2.1 KiB
TOML
97 lines
2.1 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
rust-version = "1.69.0"
|
|
name = "ctrlc"
|
|
version = "3.5.0"
|
|
authors = ["Antti Keränen <detegr@gmail.com>"]
|
|
build = false
|
|
exclude = [
|
|
"/.travis.yml",
|
|
"/appveyor.yml",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Easy Ctrl-C handler for Rust projects"
|
|
homepage = "https://github.com/Detegr/rust-ctrlc"
|
|
documentation = "https://detegr.github.io/doc/ctrlc"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"ctrlc",
|
|
"signal",
|
|
"SIGINT",
|
|
]
|
|
categories = ["os"]
|
|
license = "MIT/Apache-2.0"
|
|
repository = "https://github.com/Detegr/rust-ctrlc.git"
|
|
|
|
[badges.maintenance]
|
|
status = "passively-maintained"
|
|
|
|
[features]
|
|
termination = []
|
|
|
|
[lib]
|
|
name = "ctrlc"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "issue_46_example"
|
|
path = "examples/issue_46_example.rs"
|
|
|
|
[[example]]
|
|
name = "readme_example"
|
|
path = "examples/readme_example.rs"
|
|
|
|
[[test]]
|
|
name = "issue_97"
|
|
path = "tests/main/issue_97.rs"
|
|
harness = false
|
|
|
|
[[test]]
|
|
name = "main"
|
|
path = "tests/main/mod.rs"
|
|
harness = false
|
|
|
|
[dev-dependencies.signal-hook]
|
|
version = "0.3"
|
|
|
|
[target.'cfg(target_vendor = "apple")'.dependencies.dispatch]
|
|
version = "0.2"
|
|
|
|
[target."cfg(unix)".dependencies.nix]
|
|
version = "0.30"
|
|
features = ["signal"]
|
|
default-features = false
|
|
|
|
[target."cfg(windows)".dependencies.windows-sys]
|
|
version = "0.61"
|
|
features = [
|
|
"Win32_Foundation",
|
|
"Win32_System_Threading",
|
|
"Win32_Security",
|
|
"Win32_System_Console",
|
|
]
|
|
|
|
[target."cfg(windows)".dev-dependencies.windows-sys]
|
|
version = "0.61"
|
|
features = [
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_Foundation",
|
|
"Win32_System_IO",
|
|
"Win32_System_Console",
|
|
]
|