mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-16 00:00:12 +02:00
Register the signal handler that wakes up someone through a self-pipe. That someone doesn't yet exist, though. Some dependencies (nix, lazy_static) added to speed up the prototyping process. They are likely to be dropped in some future commits. Some features (eg. preserving the previous signal handlers) are still missing.
31 lines
726 B
TOML
31 lines
726 B
TOML
[package]
|
|
name = "tokio-signal"
|
|
version = "0.1.1"
|
|
authors = ["Alex Crichton <[email protected]>"]
|
|
license = "MIT/Apache-2.0"
|
|
repository = "https://github.com/alexcrichton/tokio-signal"
|
|
homepage = "https://github.com/alexcrichton/tokio-signal"
|
|
documentation = "https://docs.rs/tokio-signal/0.1"
|
|
description = """
|
|
An implementation of an asynchronous Unix signal handling backed futures.
|
|
"""
|
|
|
|
[dependencies]
|
|
tokio-core = "0.1"
|
|
futures = "0.1.7"
|
|
lazy_static = "0.2"
|
|
nix = "0.7"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
tokio-uds = "0.1"
|
|
libc = "0.2"
|
|
mio = "0.6"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = "0.2"
|
|
kernel32-sys = "0.2"
|
|
mio = "0.6"
|
|
|
|
[replace]
|
|
"tokio-core:0.1.3" = { git = "https://github.com/tokio-rs/tokio-core" }
|