Crates.io | capm |
lib.rs | capm |
version | 0.7.0 |
source | src |
created_at | 2023-03-25 23:31:15.126975 |
updated_at | 2023-11-07 10:44:59.553952 |
description | A CLI tool to manage your binary crates |
homepage | |
repository | https://github.com/splittydev/cap |
max_upload_size | |
id | 820656 |
size | 101,126 |
A binary package manager built on top of crates.io. No 🧢.
Rust already has an amazing package manager: cargo. However, cargo is mostly a dependency manager for Rust projects. It is not primarily a binary package manager. Even though you can install binary crates with cargo, updating and maintaining them properly requires third-party solutions such as the cargo-update plugin.
This project aims to provide a simple, easy to use, and reliable binary package manager for Rust.
cargo install --locked capm
Or install from main branch
cargo install --locked --git https://github.com/splittydev/cap
Or install from source
git clone https://github.com/splittydev/cap
cargo install --locked --path ./cap
Note: Not all commands are implemented yet.
Install a package
cap install <package>
Uninstall a package
cap uninstall <package>
Update a package
cap update <package>
Update all packages
cap update
Check a package for updates
cap check <package>
Check all packages for updates
cap check
List all installed packages
cap list
Search for a package
cap search <package>
Reverse search for a binary
cap search -r <binary>
Show package info
cap info <package>