LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

cargo-selector

Interactive Cargo target selector

TLDR

Interactively select and run a binary target
$ cargo selector run
copy
Interactively select and run a test
$ cargo selector test
copy
Interactively select and run a benchmark
$ cargo selector bench
copy
Interactively select and run an example
$ cargo selector example
copy

SYNOPSIS

cargo selector command [options]

DESCRIPTION

cargo-selector is a Cargo subcommand that provides an interactive fuzzy-search interface for selecting and running targets in a Rust project. Instead of typing exact target names, it presents a searchable list of available binaries, tests, examples, or benchmarks and runs the selected one.This is particularly useful in workspaces or projects with many targets, where remembering exact names is impractical. The selector uses a fuzzy finder interface for quick filtering.

INSTALL

sudo apt install cargo
copy
sudo dnf install cargo
copy
sudo apk add cargo
copy
sudo zypper install cargo
copy
nix profile install nixpkgs#cargo
copy

CAVEATS

Requires a valid Cargo project with defined targets. Additional arguments to the underlying cargo command may need to be passed after the target selection.

SEE ALSO

cargo(1), fzf(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid