mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
signal: move into tokio-net (#1463)
This commit is contained in:
+14
-1
@@ -22,6 +22,13 @@ categories = ["asynchronous", "network-programming"]
|
||||
|
||||
[features]
|
||||
async-traits = []
|
||||
signal = [
|
||||
"futures-util-preview",
|
||||
"mio-uds",
|
||||
"libc",
|
||||
"signal-hook-registry",
|
||||
"winapi",
|
||||
]
|
||||
tcp = [
|
||||
"bytes",
|
||||
"futures-util-preview",
|
||||
@@ -62,10 +69,16 @@ futures-sink-preview = { version = "=0.3.0-alpha.18", optional = true }
|
||||
futures-util-preview = { version = "=0.3.0-alpha.18", optional = true }
|
||||
iovec = { version = "0.1", optional = true }
|
||||
|
||||
# UDS
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
# UDS / Signal
|
||||
mio-uds = { version = "0.6.5", optional = true }
|
||||
libc = { version = "0.2.42", optional = true }
|
||||
signal-hook-registry = { version = "~1", optional = true }
|
||||
|
||||
[target.'cfg(windows)'.dependencies.winapi]
|
||||
version = "0.3"
|
||||
features = ["consoleapi", "minwindef", "wincon"]
|
||||
optional = true
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "=0.2.0-alpha.1", path = "../tokio" }
|
||||
|
||||
Reference in New Issue
Block a user