mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-18 00:00:09 +02:00
33 lines
653 B
Markdown
33 lines
653 B
Markdown
# tokio-signal
|
|
|
|
An implementation of Unix signal handling for Tokio
|
|
|
|
[](https://travis-ci.org/alexcrichton/tokio-signal)
|
|
|
|
[Documentation](https://docs.rs/tokio-signal)
|
|
|
|
## Usage
|
|
|
|
First, add this to your `Cargo.toml`:
|
|
|
|
```toml
|
|
[dependencies]
|
|
tokio-signal = "0.1"
|
|
```
|
|
|
|
Next, add this to your crate:
|
|
|
|
```rust
|
|
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.
|
|
|
|
|