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]] [[package]]
name = "git-heatmap" name = "git-heatmap"
version = "0.1.0" version = "1.0.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"chrono", "chrono",

View File

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

View File

@ -63,12 +63,8 @@ struct Author {
} }
fn main() -> Result<()> { fn main() -> Result<()> {
// clear_screen();
let args = CliArgs::parse(); let args = CliArgs::parse();
// dbg!(&args);
CHAR.set(args.char).unwrap(); CHAR.set(args.char).unwrap();
COLOR_LOGIC.set(args.counting.clone()).unwrap(); COLOR_LOGIC.set(args.counting.clone()).unwrap();
let color_map = match args.color_scheme { 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 { fn get_char() -> char {
*CHAR.get_or_init(|| '▩') *CHAR.get_or_init(|| '▩')
} }