From c26f8c948e0e212c6063dc39b399053bcc4f3424 Mon Sep 17 00:00:00 2001 From: Alexander Bass Date: Mon, 3 Apr 2023 17:04:50 -0400 Subject: [PATCH] add releases --- Cargo.toml | 6 ++++++ readme.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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