From 92935c7d44645e3485523b6c2e2a2c41e9a9f7bb Mon Sep 17 00:00:00 2001 From: Wynd Date: Wed, 4 Sep 2024 15:46:01 +0300 Subject: [PATCH] Bumped up the version number --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- src/main.rs | 8 -------- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1b235fb..a3447a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -426,7 +426,7 @@ dependencies = [ [[package]] name = "git-heatmap" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", "chrono", diff --git a/Cargo.toml b/Cargo.toml index fabd6d7..27548e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ cargo-features = ["codegen-backend"] [package] name = "git-heatmap" -version = "0.1.0" +version = "1.0.0" edition = "2021" authors = ["Wynd "] description = "A simple and customizable heatmap for git repos" @@ -30,4 +30,4 @@ incremental = true opt-level = 3 strip = true lto = true -codegen-units = 1 +codegen-units = 1 \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 0ef8563..f120239 100644 --- a/src/main.rs +++ b/src/main.rs @@ -63,12 +63,8 @@ struct Author { } fn main() -> Result<()> { - // clear_screen(); - let args = CliArgs::parse(); - // dbg!(&args); - CHAR.set(args.char).unwrap(); COLOR_LOGIC.set(args.counting.clone()).unwrap(); let color_map = match args.color_scheme { @@ -135,10 +131,6 @@ fn get_color(val: i32, high: i32) -> usize { } } -fn clear_screen() { - print!("\x1b[2J\x1b[1;1H"); -} - fn get_char() -> char { *CHAR.get_or_init(|| '▩') }