From e6470fc10a041137ada848c9d1be3f62ec0da482 Mon Sep 17 00:00:00 2001 From: Rasmus Rosengren Date: Wed, 8 Mar 2023 19:37:33 +0100 Subject: [PATCH] add dist profile --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 9557556..bb1960c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,13 @@ version = "0.2.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[profile.dist] +strip = true +opt-level = "z" +lto = true +codegen-units = 1 +panic = "abort" + [dependencies] anyhow = "1.0" clap = { version = "4.1.8", features = ["derive"] }