From f12053d77c00d1ba026a87afe237e97b122909ce Mon Sep 17 00:00:00 2001 From: Andy Killorin <37423245+Speedy6451@users.noreply.github.com> Date: Wed, 13 Sep 2023 16:52:00 -0500 Subject: [PATCH] added min profile --- Cargo.toml | 6 ++++++ client/Cargo.toml | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a2b8536..01740a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,3 +3,9 @@ members = [ "pirates", "client", ] + +[profile.minsized] +inherits = "release" +lto = true +opt-level = 'z' +strip = true diff --git a/client/Cargo.toml b/client/Cargo.toml index 5ac22c5..62450ec 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -4,8 +4,6 @@ version = "0.1.0" edition = "2021" description = "A game about wind" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] minifb = "0.25.0" pirates = { path = "../pirates", default_features = false }