this post was submitted on 11 Oct 2024
33 points (100.0% liked)

Rust

6124 readers
17 users here now

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

Wormhole

[email protected]

Credits

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

founded 2 years ago
MODERATORS
33
Bacon v3 released (dystroy.org)
submitted 2 months ago* (last edited 2 months ago) by Deebster to c/rust
 

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

you are viewing a single comment's thread
view the rest of the comments
[โ€“] onlinepersona 5 points 2 months ago (1 children)

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

[โ€“] Deebster 1 points 2 months ago

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.