From 3a80b5ec7ac28b48a0e9e9ec3c7a89e8979d51a7 Mon Sep 17 00:00:00 2001 From: gennyble Date: Sun, 16 Mar 2025 05:50:30 -0500 Subject: corgi v1.0.0 --- Cargo.lock | 2 +- Cargo.toml | 11 +++++++++++ corgi/Cargo.toml | 11 +---------- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6b199b0..a813a85 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -51,7 +51,7 @@ source = "git+https://github.com/gennyble/confindent?branch=v2#127f579c284131feb [[package]] name = "corgi" -version = "0.1.0" +version = "1.0.0" dependencies = [ "confindent", "http-body-util", diff --git a/Cargo.toml b/Cargo.toml index 2baef5b..0924370 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,14 @@ [workspace] members = ["corgi", "parrot"] resolver = "3" + +# use this profile like this: +# $ cargo build --profile size +# and select a binary like this: +# $ cargo build --bin corgi +[profile.size] +inherits = "release" +strip = true +opt-level = "z" +lto = true +codegen-units = 1 diff --git a/corgi/Cargo.toml b/corgi/Cargo.toml index fa58787..5847211 100644 --- a/corgi/Cargo.toml +++ b/corgi/Cargo.toml @@ -1,17 +1,8 @@ [package] name = "corgi" -version = "0.1.0" +version = "1.0.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"] } -- cgit 1.4.1-3-g733a5