From 3f7695392d8b96ebb0e154ab59a929e95f767582 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 4 May 2021 17:09:32 +0000 Subject: [PATCH] Set panic = abort as we don't want to keep running if we panic. --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index b32be57..7a42a02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,3 +41,9 @@ time = "0.2" rand = "0.4" serde_json = { version = "1.0" } tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] } + +[profile.release] +panic = "abort" + +[profile.dev] +panic = "abort" -- 2.30.2