aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorNathan Perry <avaglir@gmail.com>2018-04-04 01:19:04 -0400
committerNathan Perry <avaglir@gmail.com>2018-04-04 01:27:23 -0400
commit7952b4b11423f7fb582e71ec982b18e6a780562e (patch)
treef425cc764b8f74ca6be58b8fed9a32cee63553d2 /Cargo.toml
parentb7b4b264fa4f3b1deedc872e89d62895208d4583 (diff)
add support for SIGINT/SIGTERM with ctrlc crate
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 6952dd8..62eacbb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -18,6 +18,7 @@ chrono = "0.4"
fern = { version = "0.5", features = ["colored"] }
diesel = { version = "1.0.0", features = ["postgres"], optional = true }
cfg-if = "0.1"
+ctrlc = { version = "3.0", features = ["termination"] }
[dependencies.serenity]
# version = "~0.5"