From 14d02fe692cedeb82cc5184bf47c8fcae839f105 Mon Sep 17 00:00:00 2001 From: emma Date: Sat, 17 Dec 2022 23:07:13 -0500 Subject: [PATCH] better release profile --- Cargo.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Cargo.toml diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..ead9c5d --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,16 @@ +[package] +name = "tomcat" +version = "0.0.1" +edition = "2021" +license = "AGPL-3.0-or-later" +authors = [ "Emma Tebibyte " ] + +[dependencies] +toml = "0.5.9" + +[profile.release] +strip = true # strip symbols from the binary +opt-level = "z" # optimize for size +lto = true # link time optimization +codegen-units = 1 # decrease parallelization +panic = "abort"