# Cargofetch 🦀


Cargofetch is a lightweight CLI tool written in Rust that fetches metadata about your Rust project.

## Installation
[](https://crates.io/crates/cargofetch)
[](https://github.com/arjav0703/cargofetch)
[](https://aur.archlinux.org/packages/cargofetch)
#### Install via Cargo (Rust's package manager)
If you have Cargo installed, you can easily install cargofetch by running the following command:
```bash
cargo install cargofetch
```
#### 🍺 Homebrew (macOS)
Add homebrew tap and install cargofetch:
```bash
brew tap arjav0703/cargofetch https://github.com/arjav0703/cargofetch.git
brew install arjav0703/cargofetch/Cargofetch
```
#### AUR

If you are using an Arch-based Linux distribution, you can install cargofetch from the AUR:
```bash
yay -S cargofetch
```
#### NIX flakes
If you are using Nix, you can install cargofetch using flakes:
```bash
nix profile install github:arjav0703/cargofetch
```
#### 📁 Download Binary
Automatic:
```bash
Manual:
You can download the pre-built binary for your platform from the [releases page](https://github.com/arjav0703/cargofetch/releases).
---
### 🔧 Building from Source
Automatic:
```bash
Manual:
```bash
git clone https://github.com/arjav0703/cargofetch.git
cd cargofetch
cargo build --release
```
The binary will be located in the target/release/ directory.
## Acknowledgements
This projcet was inspired by [neofetch](https://en.wikipedia.org/wiki/Neofetch) and [onefetch](https://onefetch.dev). Also, the ASCII art logo was also taken from onefetch.
## License
This project is licensed under the MIT License - see the LICENSE.md file for details.