ctrlc2 3.5.8

Easy Ctrl-C handler version 2 for Rust projects
Documentation
[badges.maintenance]
status = "passively-maintained"

[dependencies.tokio]
features = ["macros", "rt", "sync", "signal"]
optional = true
version = "1"

[dev-dependencies.signal-hook]
version = "0.3"

[[example]]
name = "async_example"
path = "examples/async_example.rs"

[[example]]
name = "issue_46_example"
path = "examples/issue_46_example.rs"

[[example]]
name = "readme_example"
path = "examples/readme_example.rs"

[features]
termination = []
tokio = ["dep:tokio"]

[lib]
name = "ctrlc2"
path = "src/lib.rs"

[package]
authors = ["Antti Keränen <detegr@gmail.com>", "@ssrlive"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["os"]
description = "Easy Ctrl-C handler version 2 for Rust projects"
documentation = "https://docs.rs/ctrlc2"
edition = "2021"
exclude = ["/.travis.yml", "/appveyor.yml"]
homepage = "https://github.com/ssrlive/ctrlc2"
keywords = ["ctrlc", "signal", "SIGINT"]
license = "MIT/Apache-2.0"
name = "ctrlc2"
readme = "README.md"
repository = "https://github.com/ssrlive/ctrlc2.git"
rust-version = "1.69.0"
version = "3.5.8"

[target."cfg(unix)".dependencies.nix]
default-features = false
features = ["fs", "signal"]
version = "0.29"

[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_System_Threading", "Win32_Security", "Win32_System_Console"]
version = "0.59"

[target."cfg(windows)".dev-dependencies.windows-sys]
features = ["Win32_Storage_FileSystem", "Win32_System_IO"]
version = "0.59"

[[test]]
harness = false
name = "issue_97"
path = "tests/main/issue_97.rs"

[[test]]
harness = false
name = "main"
path = "tests/main/mod.rs"