cargo-limit

Crates.io

Cargo with less noise: - errors have highest priority - they never appear in the middle of warnings - warnings are skipped by default until errors are fixed - all dependencies' warnings are skipped by default - all messages come in reversed order by default - to avoid extra scrolling - messages are grouped by filenames - number of messages can be limited - after encountering first error the rest of build time is limited by default - files can be automatically opened in your text editor on affected lines

This tool is especially useful in combination with cargo-watch.

asciicast

Installation

From crates.io

cargo install cargo-limit

From git

cargo install --force --git https://github.com/alopatindev/cargo-limit

Usage

Run any of these in your project directory: cargo lbench cargo lbuild cargo lcheck cargo lclippy cargo ldoc cargo lfix cargo lrun cargo lrustc cargo lrustdoc cargo ltest

Also llcheck, llrun, etc.

Neovim and other text editors/IDEs integration

See here.

Environment variables

Why "limit"?

Initially it was just a workaround for this issue.

License

MIT/Apache-2.0