Skip to content

Commit 87b9412

Browse files
authored
Merge pull request #99 from zeenix/prep-1.0
πŸ”– Prepare release 1.0
2 parents 4f03e70 + a0b6374 commit 87b9412

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

β€ŽCargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€ŽCargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "gimoji"
33
description = "Easily add emojis to your git commit messages πŸŽ‰"
4-
version = "0.7.6"
4+
version = "1.0.0"
55
edition = "2021"
66
license = "MIT"
77
authors = ["Zeeshan Ali Khan <zeeshanak@gnome.org>"]
@@ -32,3 +32,6 @@ nix = { version = "0.28", default-features = false, features = ["process"] }
3232
serde = { version = "1.0.197", features = ["derive"] }
3333
serde_json = "1.0.114"
3434
databake = { version = "0.1.7", features = ["derive"] }
35+
36+
[profile.release]
37+
lto = "fat"

β€Žsrc/main.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ struct Args {
3232
#[arg(short, long)]
3333
init: bool,
3434

35-
/// Update local emoji cache (deprecated and NO-OP).
36-
#[arg(short, long)]
37-
update_cache: bool,
38-
3935
/// Run as git commit hook.
4036
#[arg(long, value_delimiter = ' ', num_args = 1..3)]
4137
hook: Vec<String>,
@@ -67,13 +63,6 @@ fn main() -> Result<(), Box<dyn Error>> {
6763
if args.init {
6864
install_hook(color_scheme)?;
6965

70-
return Ok(());
71-
} else if args.update_cache {
72-
println!(
73-
"Emojis are now a part of the gimoji binary. This option is now a NO-OP and kept \
74-
for backwards compatibility only and will be removed in a future release."
75-
);
76-
7766
return Ok(());
7867
}
7968

0 commit comments

Comments
Β (0)