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 65b1c6c..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 "] @@ -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" 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(()); }