about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2025-03-16 05:50:30 -0500
committergennyble <gen@nyble.dev>2025-03-16 05:50:30 -0500
commit3a80b5ec7ac28b48a0e9e9ec3c7a89e8979d51a7 (patch)
tree428d119458bcb37f1bc7c9d4105b29f864aae052
parent0530a4f68004b2ab85ad6b4f6c2cee24a05fdeaf (diff)
downloadcorgi-3a80b5ec7ac28b48a0e9e9ec3c7a89e8979d51a7.tar.gz
corgi-3a80b5ec7ac28b48a0e9e9ec3c7a89e8979d51a7.zip
corgi v1.0.0
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml11
-rw-r--r--corgi/Cargo.toml11
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"] }