diff options
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml index a634a91..f53fcbc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,15 @@ name = "corgi" version = "0.1.0" edition = "2024" +[profile.release] +strip = true +opt-level = "z" +lto = true +codegen-units = 1 + +# 1538792 none of the above flags +# 829896 the above flags reduced binary size by around 700K :) + [dependencies] http-body-util = "0.1.3" hyper-util = { version = "0.1.10", features = ["tokio"] } |