diff --git a/Cargo.toml b/Cargo.toml index 933f731f..be2e95a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -174,12 +174,8 @@ aws-sdk-s3 = { version = "1.121", default-features = false, features = [ "rt-tokio", ] } -[profile.dev] -#lto = "thin" # disabled for now, adds 2-4 min to each CI build -lto = "off" - [profile.release] -lto = true -codegen-units = 1 +lto = "thin" +codegen-units = 16 opt-level = 3 -strip = true +strip = "debuginfo"