InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →
Top 23 Rust cargo-subcommand Projects
-
Project mention: Static search trees: 40x faster than binary search | news.ycombinator.com | 2024-12-31
Well, I don't use makefiles to deploy software with Rust. I also have never used lex or yacc, but I bet there are similar tools in the ecosystem, or wrappers for those. That would obviate what I will offer below.
Often a new language in a project would define an application boundary. So those would be different containers or services. I may deploy via container images, or an OS specific installer, etc. If we aren't crossing an application boundary I may use FFI. Sometimes I use https://rust-lang.github.io/rust-bindgen/ to smooth that over for C dependencies. There is also a nice concept called a build.rs file: https://doc.rust-lang.org/cargo/reference/build-script-examp.... There's also tools like: https://github.com/casey/just and https://sagiegurari.github.io/cargo-make/
I rarely use multiple languages with Rust. A lot of interpreted languages have bindings through crates and can go in to a project through Cargo. If it involves JS/TS on desktop, I'm usually using Tauri for that. Guess it depends on the system?
Hopefully that helps. You can also still use a Makefile if you want I just haven't dealt with one in a long time.
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
We are using cargo-nextest to run the tests in Github Workflows. Some crates do not support running plain cargo test anymore, prefer cargo nextest run instead. You can install cargo-nextest with cargo install cargo-nextest.
-
Project mention: Build a Database in Four Months with Rust and 647 Open-Source Dependencies | news.ycombinator.com | 2025-01-15
There is `cargo-deny` that handles some enforcement: https://github.com/EmbarkStudios/cargo-deny. Doesn't handle authors, but I suspect it's easy to add?
There is really just a handful of crates that nearly often get pulled in and probably like 5 authors across them.
Supply chain harderning is pretty easy in rust: caro-deny, cargo-suply-chain, cargo-crev, cargo-vet, cargo-{s}bom and probably a few more I can't remember.
-
Install Zig and zigbuild, then compile:
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Project mention: Cargo-mutants:zombie: Inject bugs and see if your tests catch them | news.ycombinator.com | 2025-04-10
-
-
-
maelstrom
Maelstrom is a fast Rust, Go, and Python test runner that runs every test in its own container. Tests are either run locally or distributed to a clustered job runner. (by maelstrom-software)
Project mention: Show HN: Maelstrom – A Hermetic, Clustered Test Runner for Python and Rust | news.ycombinator.com | 2024-07-09We use our own small wrappers for these syscalls, built on top of Rust's libc crate. All our wrappers live here:
https://github.com/maelstrom-software/maelstrom/blob/main/cr...
For bind mounts, you want to look at open_tree and move_mount. For "regular" mounts, you want to look at fsopen, fsconfig, fsmount, and move_mount.
I found this video very useful: https://www.youtube.com/watch?v=gMWKFPnmJSc
-
I'm writing this to explain some of the problems cargo-c solves and hopefully give few pointers since the README containing all the documentation maybe grew to be fairly big.
-
cargo-public-api
List and diff the public API of Rust library crates between releases and commits. Detect breaking API changes and semver violations via CI or a CLI.
-
-
-
-
cargo-supply-chain
Gather author, contributor and publisher data on crates in your dependency graph.
Project mention: Build a Database in Four Months with Rust and 647 Open-Source Dependencies | news.ycombinator.com | 2025-01-15Cargo currently has `cargo tree`, which prints out a dependency tree. There's an extension to cargo which also shows how many people have the ability to push to your dependencies, titled `cargo-supply-chain`.
https://github.com/rust-secure-code/cargo-supply-chain/
-
-
cargo-multivers
Cargo subcommand to build multiple versions of the same binary, each with a different CPU features set, merged into a single portable optimized binary
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust cargo-subcommand discussion
Rust cargo-subcommand related posts
-
Build a Database in Four Months with Rust and 647 Open-Source Dependencies
-
cargo-c common questions
-
Show HN: Maelstrom – A Hermetic, Clustered Test Runner for Python and Rust
-
Rust Tooling: 8 tools that will increase your productivity
-
Performance difference between obj.function(...) and function(obj, ...) ?
-
Cargo-zigbuild: Compile Rust using Zig as linker for easier cross compiling
-
[Review] Introducing cargo-xwin: A Solution for Cross-Compiling Rust on macOS to MSVC
-
A note from our sponsor - InfluxDB
www.influxdata.com | 21 May 2025
Index
What are some of the best open-source cargo-subcommand projects in Rust? This list will help you:
# | Project | Stars |
---|---|---|
1 | cargo-make | 2,745 |
2 | nextest | 2,444 |
3 | cargo-deny | 1,939 |
4 | cargo-zigbuild | 1,918 |
5 | cargo-release | 1,420 |
6 | cargo-asm | 1,212 |
7 | cargo-machete | 977 |
8 | cargo-mutants | 912 |
9 | cargo-show-asm | 805 |
10 | cargo-auditable | 729 |
11 | maelstrom | 675 |
12 | cargo-c | 498 |
13 | cargo-public-api | 475 |
14 | cargo-xwin | 431 |
15 | cargo-readme | 373 |
16 | cargo-wix | 344 |
17 | cargo-supply-chain | 330 |
18 | cargo-swift | 210 |
19 | cargo-multivers | 180 |
20 | cargo-n64 | 161 |
21 | cargo-deadlinks | 155 |
22 | cargo-aur | 92 |
23 | cargo-changelog | 26 |