From: Matt Corallo Date: Tue, 4 May 2021 17:09:32 +0000 (+0000) Subject: Set panic = abort as we don't want to keep running if we panic. X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=3f7695392d8b96ebb0e154ab59a929e95f767582;p=ldk-sample Set panic = abort as we don't want to keep running if we panic. --- 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"