From 376da8460a8e0bd4c45d9cbc582365a959e399a3 Mon Sep 17 00:00:00 2001 From: Lab Rat Date: Mon, 12 Aug 2024 19:44:40 +0530 Subject: [PATCH] ops(cargo.toml): metadata changes --- Cargo.lock | 10 +++++----- Cargo.toml | 21 ++++++++++++++++++--- src/workflow_queue.rs | 2 +- 3 files changed, 24 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7fa7770..82aa829 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -53,7 +53,7 @@ dependencies = [ [[package]] name = "bgit" -version = "0.1.1" +version = "0.2.0" dependencies = [ "clap", "clap_complete", @@ -71,9 +71,9 @@ checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "cc" -version = "1.1.8" +version = "1.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "504bdec147f2cc13c8b57ed9401fd8a147cc66b67ad5cb241394244f2c947549" +checksum = "e9e8aabfac534be767c909e0690571677d49f41bd8465ae876fe043d52ba5292" dependencies = [ "jobserver", "libc", @@ -432,9 +432,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "syn" -version = "2.0.72" +version = "2.0.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af" +checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 291bda8..72ff409 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,13 @@ [package] name = "bgit" -version = "0.1.1" +version = "0.2.0" edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +license = "MIT" +authors = ["Gyan172004 ", "rootCircle "] +repository = "https://github.com/Gyan172004/bgit" +description = "User-friendly Git wrapper for beginners, automating essential tasks like adding, committing, and pushing changes. It includes smart rules to avoid common pitfalls, such as accidentally adding sensitive files or directories and has exclusive support for portable hooks!" +categories = ["development-tools::testing", "command-line-utilities", "development-tools"] +keywords = ["git", "cli", "wrapper", "beginner", "friendly", "portable", "libgit-rs", "hooks", "automation", "smart-rules"] [dependencies] clap = { version = "4.5.15", features = ["derive"] } @@ -12,3 +16,14 @@ colored = "2.1.0" dialoguer = "0.11.0" git2 = "0.19.0" indicatif = "0.17.8" + +[profile.dev] +opt-level = 0 + +[profile.release] +opt-level = "z" +lto = true +codegen-units = 1 +strip = true # Automatically strip symbols from the binary. + + diff --git a/src/workflow_queue.rs b/src/workflow_queue.rs index 2ba9700..fa8dd53 100644 --- a/src/workflow_queue.rs +++ b/src/workflow_queue.rs @@ -26,7 +26,7 @@ impl WorkflowQueue { let started = Instant::now(); // Initialize spinner for progress indication let pb = ProgressBar::new_spinner(); - pb.enable_steady_tick(Duration::from_millis(500)); + pb.enable_steady_tick(Duration::from_millis(200)); pb.set_style( ProgressStyle::with_template( "{spinner:.cyan/blue.bold} [{pos:.yellow}/?] Executing step: {wide_msg:.green}",