diff --git a/Cargo.toml b/Cargo.toml index 89132b1..5a17733 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,3 +12,9 @@ license = "GPL-3.0" clap = { version = "4.2.1", features = ["derive"] } colored = "2.0.0" rand = "0.8.5" + +[profile.release] +opt-level = 'z' # Optimize for size +lto = true # Enable link-time optimization +codegen-units = 1 # Reduce number of codegen units to increase optimizations +strip = true # Strip symbols from binary* diff --git a/readme.md b/readme.md index 8aea7d0..549665a 100644 --- a/readme.md +++ b/readme.md @@ -6,7 +6,7 @@ This is an implementation of the classic game minesweeper using the command line ```Bash cargo run ``` -or use one of the provided executables in the releases. +or use one of the provided executables in the [releases tab](https://git.alexanderbass.com/Alexander/cli-minesweeper/releases). ## How to play