From 13a688a0c1280922f1d85e2a94cb7fc51f2223c2 Mon Sep 17 00:00:00 2001 From: Ferdinand Schober Date: Sat, 11 Mar 2023 15:16:05 +0100 Subject: [PATCH] Strip symbols and enable LTO for smaller binaries (#5) --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index a294619..26713f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,10 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[profile.release] +strip = true +lto = "fat" + [dependencies] tempfile = "3.2" trust-dns-resolver = "0.22"