{"repo":"dustinblackman/cargo-run-bin","free":true,"listed":false,"github":"https://github.com/dustinblackman/cargo-run-bin","clone":"git clone https://github.com/dustinblackman/cargo-run-bin.git","description":"Build, cache, and run CLI tools scoped in Cargo.toml rather than installing globally. Stop the version drifts across your team, keep it all in sync within your project!","language":"Rust","stars":235,"topics":["cli","developer-tools","cache","cargo","rust"],"license":"MIT","category":"cli-tools","readme_excerpt":"cargo-run-bin Build, cache, and run CLI tools scoped in Cargo.toml rather than installing globally. Stop the version drifts across your team, keep it all in sync within your project! - Overview - Install - Usage - cargo bin CRATE - cargo bin --sync-aliases - cargo bin --install - Library - License Overview Installing tooling globally when working in teams or on CI is a silly problem to manage. cargo-run-bin builds, caches, and executes binaries from their locked down versions in Cargo.toml . This acts similarly to npm run and gomodrun , and allows your teams to always be running the same tooling versions. For command lines that extend cargo such as cargo-nextest , run-bin will create and manage cargo aliases to allow using cargo extensions without any changes to your command line scripts! cargo-run-bin gets out of your way, and you'll forget you're even using it! Install Minimum Rust Version: 1.70.0 There are a few different ways you can install cargo-run-bin . I'd recommend giving each a read, and picking the best that suits you! Global Install Run the following to install cargo-run-bin , and ignore the cache directory in your project. Using wrapper Installing with a minimal wrapper and an alias in your project. This gives you the best onboarding experiance in to your project for you and your team as it does not require any global installs! Git pull, and you're ready to consume all your CLI tools! These instructions assume you'd like to place the wrapper in tools/cargo-bin w","default_branch":null,"files":null,"tree":[],"storefront":"/r/dustinblackman","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dustinblackman/cargo-run-bin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}