Files
Notes/notes-service/vendor/signal-hook/Cargo.toml
T
2026-08-01 16:11:49 +03:00

93 lines
1.8 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 = "2018"
name = "signal-hook"
version = "0.3.18"
authors = [
"Michal 'vorner' Vaner <vorner@vorner.cz>",
"Thomas Himmelstoss <thimm@posteo.de>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unix signal handling"
documentation = "https://docs.rs/signal-hook"
readme = "README.md"
keywords = [
"signal",
"unix",
"daemon",
]
license = "Apache-2.0/MIT"
repository = "https://github.com/vorner/signal-hook"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[badges.maintenance]
status = "actively-developed"
[features]
channel = []
default = [
"channel",
"iterator",
]
extended-siginfo = [
"channel",
"iterator",
"extended-siginfo-raw",
]
extended-siginfo-raw = ["cc"]
iterator = ["channel"]
[lib]
name = "signal_hook"
path = "src/lib.rs"
[[example]]
name = "print"
path = "examples/print.rs"
[[test]]
name = "default"
path = "tests/default.rs"
[[test]]
name = "iterator"
path = "tests/iterator.rs"
[[test]]
name = "shutdown"
path = "tests/shutdown.rs"
[dependencies.libc]
version = "^0.2"
[dependencies.signal-hook-registry]
version = "^1.4"
[dev-dependencies.serial_test]
version = "^0.7"
[build-dependencies.cc]
version = "^1"
optional = true