bacon
TLDR
Run background checker for Rust
$ bacon
Run specific job$ bacon [test]
Run with custom configuration$ bacon --job [clippy]
List available jobs$ bacon --list-jobs
SYNOPSIS
bacon [options] [job]
DESCRIPTION
bacon is a background Rust code checker that runs cargo commands in watch mode. It continuously checks your code for compilation errors, warnings, and clippy lints, displaying results in a terminal UI.
The tool provides immediate feedback during development without manually running cargo commands.
PARAMETERS
--job, -j name
Run specific job--list-jobs
List available jobs--path dir
Project directory--config file
Configuration file-w, --watch
Additional paths to watch
DEFAULT JOBS
check
Run cargo checktest
Run testsclippy
Run clippy lintsrun
Build and rundoc
Generate documentation
CONFIGURATION
Configuration in bacon.toml:
$ [jobs.check]
command = ["cargo", "check", "--color", "always"]
need_stdout = false
command = ["cargo", "check", "--color", "always"]
need_stdout = false
CAVEATS
Requires Rust toolchain installed. High CPU usage during continuous checks. May be slower than manual runs on large projects. Terminal UI requires compatible terminal emulator.
HISTORY
bacon was created by Denys Séguret (Canop) around 2021 to provide a better development experience for Rust projects with continuous feedback.
SEE ALSO
cargo(1), cargo-watch(1), clippy(1)


