From b80036ef629e0803f3a70059a8fa12d1a2ae3b2d Mon Sep 17 00:00:00 2001 From: troido Date: Fri, 28 Feb 2020 15:22:40 +0100 Subject: save world on SIGTERM and SIGINT --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') 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"] } -- cgit