bacon is a background rust code checker.
It's designed for minimal interaction so that you can jut let it running, side to your editor, and be notified of warnings and errors in your Rust code.
cargo install bacon
Launch bacon
in a terminal you keep visible
If you do bacon --clippy
, it runs cargo clippy
instead of cargo check
.
It watches the content of your src directory and launches cargo check
on changes.
Watching and computations are done on background threads to prevent any blocking.
The screen isn't cleaned until the compilation is finished to prevent flickering.
Rendering is adapted to the dimensions of the terminal to ensure you get a proper usable report.
Errors are displayed before warnings.
I'm very busy rewriting bacon to incorporate new features, some visible in issues, some not.
I welcome issues, I welcome discussions in chat or on GitHub, I welcome diagnostics and prototypes, but right now I won't try to merge pull requests and will probably, at best, consider their content as technical hints and research.
It works on all decent terminals on linux, Max OSX and Windows.
- It's a background conpiler.
- It comes from France and, as you know, France is bacon.