From c8f2408373f3aeb329e1d4aea8010a400d22d579 Mon Sep 17 00:00:00 2001 From: Linus Walker <85013114+Walker-00@users.noreply.github.com> Date: Mon, 4 Mar 2024 00:05:09 +0630 Subject: Performance optimization with cargo flags (#355) --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 5f9d019..a49d924 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,4 +62,7 @@ webpki-roots = ["reqwest/rustls-tls-webpki-roots"] native-tls = ["reqwest/native-tls"] [profile.release] +strip = true +opt-level = 3 lto = true +codegen-units = 1 -- cgit v1.2.3