summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-02-28 15:22:40 +0100
committertroido <troido@protonmail.com>2020-02-28 15:22:40 +0100
commitb80036ef629e0803f3a70059a8fa12d1a2ae3b2d (patch)
tree5840fa725cf99ad9b66e4d307053be3a9513dc96 /Cargo.toml
parent027b37bf2867820aaf2a013a62d7fa278db1a7b4 (diff)
save world on SIGTERM and SIGINT
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 3fdd538..7c9776e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,3 +15,4 @@ specs = { version = "0.16", features = ["specs-derive"] }
rand = "0.7"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
+ctrlc = { version = "3.1", features = ["termination"] }