| Crates.io | gitbit |
| lib.rs | gitbit |
| version | 0.1.0 |
| created_at | 2025-11-29 19:03:55.870863+00 |
| updated_at | 2025-11-29 19:03:55.870863+00 |
| description | A lightweight Git automation tool that generates commit messages from diffs using AI (Gemini). |
| homepage | https://github.com/StephCurry07/Mgit |
| repository | https://github.com/StephCurry07/Mgit.git |
| max_upload_size | |
| id | 1957268 |
| size | 69,683 |
A lightweight Git automation tool that generates commit messages from diffs using AI.
If you don't have Rust installed, install it using rustup:
Invoke-WebRequest -Uri https://win.rustup.rs/x86_64 -OutFile rustup-init.exe
.\rustup-init.exe
The MSVC toolchain requires Visual Studio Build Tools. Install them using one of these methods:
Option A: Using winget (Recommended)
winget install Microsoft.VisualStudio.2022.BuildTools
Then manually run the installer and select "Desktop development with C++" workload.
Option B: Direct Download
Option C: Using Chocolatey
choco install visualstudio2022buildtools --package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended"
After installing the build tools, restart your terminal and verify:
cargo --version
rustc --version
cargo build
cargo run
If you don't have Rust installed, install it using rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Follow the prompts and select the default installation options. After installation, restart your terminal or run:
source $HOME/.cargo/env
WSL uses the GNU toolchain, so you'll need to install the necessary build tools:
# For Ubuntu/Debian
sudo apt update
sudo apt install -y build-essential
# For Fedora
sudo dnf install -y gcc
# For Arch Linux
sudo pacman -S base-devel
Verify that Rust is installed correctly:
cargo --version
rustc --version
cargo build
cargo run
# Run the project
cargo run
# Run tests
cargo test
# Format code
cargo fmt
# Lint code
cargo clippy