Bacon is a Rust code checker designed for minimal interaction, allowing users to run it alongside their editor to receive real-time notifications about warnings, errors, or test failures (I like having it show clippy’s hints).

It prioritizes displaying errors before warnings, making it easier to identify critical issues without excessive scrolling.

Screenshot (from an old version I think):

v3 adds support for cargo-nextest, plus some QoL improvements.

v3.0.0 release notes

2 points

Shouldn’t errors be in the bottom of the output if you don’t want to scroll?

permalink
report
reply
1 point

It shows the top line, so you just read top to bottom (and can scroll if you want).

permalink
report
parent
reply
5 points

Not sure I understand this. Is it a watch clippy? Or a completely new tool? If it’s new, what does it provide over clippy?

Anti Commercial-AI license

permalink
report
reply
1 point

You can set it to show what you want; if I’m doing TDD I’ll set it to show the test output, and then it’ll show the warnings beneath it.

You can switch between the views with a key (T for tests (or N for nextest), C for clippy, etc

But yes, it’s pretty similar to using watch.

permalink
report
parent
reply

Rust

!rust@programming.dev

Create post

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

Community stats

  • 577

    Monthly active users

  • 812

    Posts

  • 3.7K

    Comments