ctrlc2 4.0.0

Easy Ctrl-C handler version 2 for Rust projects
Documentation
# 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 = "2024"
name = "ctrlc2"
version = "4.0.0"
authors = [
    "Antti Keränen <detegr@gmail.com>",
    "@ssrlive",
]
build = false
exclude = [
    "/.travis.yml",
    "/appveyor.yml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Easy Ctrl-C handler version 2 for Rust projects"
homepage = "https://github.com/ssrlive/ctrlc2"
documentation = "https://docs.rs/ctrlc2"
readme = "README.md"
keywords = [
    "ctrlc",
    "signal",
    "SIGINT",
    "async",
]
categories = ["os"]
license = "MIT/Apache-2.0"
repository = "https://github.com/ssrlive/ctrlc2.git"

[package.metadata.docs.rs]
all-features = true

[badges.maintenance]
status = "passively-maintained"

[features]
async = []
termination = []

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

[[example]]
name = "async_test2"
path = "examples/async_test2.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

[dependencies.log]
version = "0.4"

[dev-dependencies.clap]
version = "4"
features = ["derive"]

[dev-dependencies.futures]
version = "0.3"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "time",
    "macros",
    "rt",
]

[dev-dependencies.tokio-util]
version = "0.7"

[target."cfg(unix)".dependencies.nix]
version = "0.31"
features = [
    "fs",
    "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_System_IO",
]