Bumped up the version number

master
Wynd 2024-09-04 15:46:01 +03:00
parent c2466abf83
commit 92935c7d44
3 changed files with 3 additions and 11 deletions

2
Cargo.lock generated
View File

@ -426,7 +426,7 @@ dependencies = [
[[package]]
name = "git-heatmap"
version = "0.1.0"
version = "1.0.0"
dependencies = [
"anyhow",
"chrono",

View File

@ -2,7 +2,7 @@ cargo-features = ["codegen-backend"]
[package]
name = "git-heatmap"
version = "0.1.0"
version = "1.0.0"
edition = "2021"
authors = ["Wynd <wyndftw@proton.me>"]
description = "A simple and customizable heatmap for git repos"

View File

@ -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(|| '▩')
}