From 5b28346537aad41ec24efa3456b0257d6844ffa2 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Khan Date: Sun, 3 Mar 2024 19:09:23 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=94=A5=20Enable=20LTO=20for=20release?= =?UTF-8?q?=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 65b1c6c..1d929f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,3 +32,6 @@ nix = { version = "0.28", default-features = false, features = ["process"] } serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.114" databake = { version = "0.1.7", features = ["derive"] } + +[profile.release] +lto = "fat" From 1cd04ab19ce509251dadd5d61e1a6cf9cedaa345 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Khan Date: Sun, 3 Mar 2024 19:10:58 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=92=A5=20Drop=20deprecated=20`--updat?= =?UTF-8?q?e-cache`=20option?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3acc7c1..9b35dd3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -32,10 +32,6 @@ struct Args { #[arg(short, long)] init: bool, - /// Update local emoji cache (deprecated and NO-OP). - #[arg(short, long)] - update_cache: bool, - /// Run as git commit hook. #[arg(long, value_delimiter = ' ', num_args = 1..3)] hook: Vec, @@ -67,13 +63,6 @@ fn main() -> Result<(), Box> { if args.init { install_hook(color_scheme)?; - return Ok(()); - } else if args.update_cache { - println!( - "Emojis are now a part of the gimoji binary. This option is now a NO-OP and kept \ - for backwards compatibility only and will be removed in a future release." - ); - return Ok(()); } From a0b63746028f6ffde462f9985742bc74b88d0e39 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Khan Date: Sun, 3 Mar 2024 19:11:44 +0100 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=94=96=20Release=201.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d48915b..d2709ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -378,7 +378,7 @@ dependencies = [ [[package]] name = "gimoji" -version = "0.7.6" +version = "1.0.0" dependencies = [ "arboard", "clap", diff --git a/Cargo.toml b/Cargo.toml index 1d929f1..fecee92 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gimoji" description = "Easily add emojis to your git commit messages 🎉" -version = "0.7.6" +version = "1.0.0" edition = "2021" license = "MIT" authors = ["Zeeshan Ali Khan "]