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

Rust

5953 readers
7 users here now

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)

founded 1 year ago
MODERATORS
29
Bacon v3 released (dystroy.org)
submitted 4 weeks ago* (last edited 4 weeks ago) by Deebster@programming.dev to c/rust@programming.dev
 

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

top 4 comments
sorted by: hot top controversial new old
[–] onlinepersona@programming.dev 5 points 3 weeks 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@programming.dev 1 points 3 weeks 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.

[–] asdfasdfasdf@lemmy.world 2 points 3 weeks ago (1 children)

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

[–] Deebster@programming.dev 1 points 3 weeks ago

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