[package]
name = "compio-signal"
version = "0.3.0"
description = "Signal handling for compio"
categories = ["asynchronous"]
keywords = ["async", "signal"]
edition = { workspace = true }
authors = { workspace = true }
readme = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
compio-runtime = { workspace = true, features = ["event"] }
[target.'cfg(windows)'.dependencies]
compio-driver = { workspace = true }
once_cell = { workspace = true }
slab = { workspace = true }
windows-sys = { workspace = true, features = [
"Win32_Foundation",
"Win32_System_Console",
] }
[target.'cfg(target_os = "linux")'.dependencies]
compio-buf = { workspace = true }
compio-driver = { workspace = true }
[target.'cfg(unix)'.dependencies]
libc = { workspace = true }
[target.'cfg(all(unix, not(target_os = "linux")))'.dependencies]
once_cell = { workspace = true }
os_pipe = { workspace = true }
slab = { workspace = true }
[features]
default = []
io-uring = ["compio-driver/io-uring"]
lazy_cell = []
once_cell_try = []
nightly = ["lazy_cell", "once_cell_try"]