mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-23 00:00:10 +02:00
7da00f38323304a8ab5141268054bf5cfd53d02d
Replace the sequential counting (which might be exhausted) by an address of an object (in a box, so it doesn't change). This is also a unique, so it is acceptable ID.
tokio-signal
An implementation of Unix signal handling for Tokio
Usage
First, add this to your Cargo.toml:
[dependencies]
tokio-signal = "0.1"
Next, add this to your crate:
extern crate tokio_signal;
License
tokio-signal is primarily distributed under the terms of both the MIT
license and the Apache License (Version 2.0), with portions covered by various
BSD-like licenses.
See LICENSE-APACHE, and LICENSE-MIT for details.
Languages
Rust
100%