# 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 = "ctrlc2" version = "3.5.8" authors = [ "Antti Keränen ", "@ssrlive", ] build = false exclude = [ "/.travis.yml", "/appveyor.yml", ] 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", ] categories = ["os"] license = "MIT/Apache-2.0" repository = "https://github.com/ssrlive/ctrlc2.git" [lib] name = "ctrlc2" path = "src/lib.rs" [[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" [[test]] name = "issue_97" path = "tests/main/issue_97.rs" harness = false [[test]] name = "main" path = "tests/main/mod.rs" harness = false [dependencies.tokio] version = "1" features = [ "macros", "rt", "sync", "signal", ] optional = true [dev-dependencies.signal-hook] version = "0.3" [features] termination = [] tokio = ["dep:tokio"] [target."cfg(unix)".dependencies.nix] version = "0.29" features = [ "fs", "signal", ] default-features = false [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_System_IO", ] [badges.maintenance] status = "passively-maintained"