signal: Initial commit

This commit is contained in:
Alex Crichton
2018-09-10 11:29:50 -07:00
committed by Carl Lerche
commit eca7f0760f
9 changed files with 828 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# tokio-signal
An implementation of Unix signal handling for Tokio
[![Build Status](https://travis-ci.org/alexcrichton/tokio-signal.svg?branch=master)](https://travis-ci.org/alexcrichton/tokio-signal)
[Documentation](https://alexcrichton.github.io/tokio-signal)
## Usage
First, add this to your `Cargo.toml`:
```toml
[dependencies]
tokio-signal = { git = "https://github.com/alexcrichton/tokio-signal" }
```
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.