bacon
config
Our great sponsors
bacon | config | |
---|---|---|
25 | 7 | |
1,441 | 79 | |
- | - | |
8.0 | 9.4 | |
13 days ago | 5 days ago | |
Rust | Rust | |
GNU Affero General Public License v3.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bacon
- Bacon – a background Rust code checker
-
Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022
Probably one of the biggest speed ups to your inner loop writing / running code is to use something like https://github.com/Canop/bacon/. I used a combination of the docs and GPT chats to increase my learning speed a lot.
-
Project Diagnostics
Nice, I'll have a look. I miss having bacon in a tmux split, wish TS had something like that.
-
Report on platform-compliance for cargo directories
As a macOS user, it boils my brain whenever I've to type in something like ~/Library/Application Support/org.rust-lang.Cargo/config.toml. macOS users have been begging CLI tools to support XDG variables on macOS too. Setting defaults is a strong indication to the community what should be the "preferred" locations. The defaults defined in your article will invariably lead to some authors saying that if that path is good enough for cargo, then it is good enough for their tool. Even the latest draft RFC acknowledges that macOS should use XDG variables too. I've written more about this here.
-
What's your current Vim+Rust setup?
bacon + nvim-bacon
-
What are some useful tools for Rust?
bacon
-
Are there any continuous testing tools with real-time line-by-line IDE feedback for Rust?
I love cargo-watch and still it use it situationally, but as a companion to my editor workflow I mostly switched to bacon. Being able to switch with one keystroke to another cargo subcommand is delightful.
-
What is your number one rust tool?
Try bacon for checks & test!
-
Alternative to watch -cq
Was it bacon perhaps?
- Something similar to Rust's `bacon` tool but for Python?
config
- Unified versus Split Diff
-
[MEDIA] Kanata: improve your keyboard comfort. Now with a logo, miette errors, and more features (v1.3.0-prerelease-1)
I actually quite like the config, seems intuitive! Though, I am comparing it to this abomination, so I might have low expectations here :-)
-
Started using Rust for scripting
4) For scripts you put for everyday use in ~/bin, I've found busybox style multipurpose binary invaluable. You put all your scripts into a single Rust binary, and than hard-link this binary under different names in PATH, so that the first argv is actually the name of subcommand. Here's how the infra works for my scripts, and here's an example script.
- Rust as bash scripting replacement?
-
Are there tools for a more granular benchmarking experience?
1) Invest into application-level profiling, using tracing::span! for collection and something like tracing_tracy or tracing_span_tree for visualization. This should give you high-level logical profile. 2) If on Linux, learn a bare minimum of perf for collecting data (the extent of my knowledge about perf is basically this script https://github.com/matklad/config/blob/master/tool/src/prf.rs). Use neither flamegraph.pl nor cargo flamegraph for visualization, use https://profiler.firefox.com/ instead.
- rust-analyzer changelog #89
-
What you don't like about Rust?
And, while a spam links, here’s a link with more links: https://github.com/matklad/config/blob/master/links.adoc
What are some alternatives?
rust - Empowering everyone to build reliable and efficient software.
nomicon - The Dark Arts of Advanced and Unsafe Rust Programming
cargo-geiger - Detects usage of unsafe Rust in a Rust crate and its dependencies.
pale-fire - Port of Emacs Zenburn theme to VS Code
helix - A post-modern modal text editor.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
miri - An interpreter for Rust's mid-level intermediate representation
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
darkfi - Anonymous. Uncensored. Sovereign.
cargo-script-mvs - Pre-RFC for merging cargo-script into cargo
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
cli - GitHub’s official command line tool