From 7952b4b11423f7fb582e71ec982b18e6a780562e Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Wed, 4 Apr 2018 01:19:04 -0400 Subject: add support for SIGINT/SIGTERM with ctrlc crate --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') 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" -- cgit v1.3.1