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 Cargo Open-Source Projects
-
Project mention: Malware found on NPM infecting local package with reverse shell | news.ycombinator.com | 2025-03-26
See https://github.com/rust-lang/cargo/issues/13897 and https://github.com/rust-lang/cargo/issues/13897#issuecomment... .
-
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.
-
-
The OpenWRT SDK is quite polished and convenient to use, so I usually use that for custom OpenWRT binaries. But a few days ago I needed to run something custom on my old QNAP NAS (Marvell ARMv5TE based), and I decided to try cross-rs[1] for the first time.
It turned the usual multi-hour expedition of locating and configuring SDKs, toolchains, etc into 3 commands and 5 minutes of downloads and compilation. The resulting executable ran successfully at the first try. I was amazed.
[1] https://github.com/cross-rs/cross
-
-
-
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
> but I’ll often run a tiny subset of those commands (e.g. cargo test) hundreds of time in a single day.
Bacon replaces that command entirely for me (and many other cargo commands which would otherwise be run repetitively). https://dystroy.org/bacon/
-
Project mention: We are the "thin blue line" that is trying to keep the code high quality | news.ycombinator.com | 2025-02-13
nope, but I encounter it a lot. For example, the default cargo template or whatever just gives you a non-copyleft license https://github.com/cargo-generate/cargo-generate . There are a lot of questionable defaults in this space, like the ecosystem encouraging people to use a centralized repository like crates.io which requires github (now owned by microsoft).
I figure it's because the companies and orgs that started working with and investing in the rust ecosystem start by contributing to the compiler, which is non-copyleft and just try to extend that because it works to their advantage. You see this with a lot of languages/ecosystems with corporate sponsors, but also just because it gives you a unique selling point in an area where copyleft software dominates. Like, there will always be some company (like imagine a defense company) that absolutely refuses to publish all of their changes, so that represents a niche that can sustain smaller permissive projects.
I think that for an individual corporation, permissive is better and they won't make a decision to go copyleft unless forced. But for the ecosystem as a whole, GPL is better for business (especially when it comes to something like a kernel) because it forces companies to publicly fork over their drivers and collaborate, and reduces the competitive advantage vs companies that would otherwise not publish their changes if it was permissive.
That was probably too many words. Anyways, it would be nice to see some of this improved, i think it's a great language and will probably replace C++.
-
If not, you will need a Dockerfile to deploy. I would highly recommend using cargo-chef to deploy - it's quite useful and has personally saved me a lot of time between Dockerfile deployments.
-
-
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.
-
-
-
-
-
-
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Cargo discussion
Cargo related posts
-
Understand Your Dependencies
-
Rust-Script
-
Open Source Insights
-
Rob Pike: On Bloat
-
We are the "thin blue line" that is trying to keep the code high quality
-
Comprehensive Guide to Generating `.deb` and `.rpm` Packages for Rust Applications
-
Build a Database in Four Months with Rust and 647 Open-Source Dependencies
-
A note from our sponsor - InfluxDB
www.influxdata.com | 18 May 2025
Index
What are some of the best open-source Cargo projects? This list will help you:
# | Project | Stars |
---|---|---|
1 | Cargo | 13,501 |
2 | min-sized-rust | 8,933 |
3 | cross | 7,336 |
4 | juniper | 5,809 |
5 | cargo-edit | 3,202 |
6 | cargo-expand | 2,852 |
7 | cargo-make | 2,745 |
8 | tarpaulin | 2,695 |
9 | bacon | 2,488 |
10 | cargo-generate | 2,151 |
11 | cargo-chef | 2,102 |
12 | kondo | 1,956 |
13 | cargo-deny | 1,939 |
14 | cargo-dist | 1,681 |
15 | rustsec | 1,673 |
16 | cargo-fuzz | 1,623 |
17 | jql | 1,580 |
18 | mongo-rust-driver | 1,480 |
19 | rust-script | 1,424 |
20 | cargo-release | 1,420 |
21 | cargo-update | 1,312 |
22 | cargo-outdated | 1,298 |
23 | corrosion | 1,254 |