Cargo

Open-source projects categorized as Cargo
+ Rust + CMake

Top 23 Cargo Open-Source Projects

  1. Cargo

    The Rust package manager

    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... .

  2. 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.

    InfluxDB logo
  3. min-sized-rust

    🦀 How to minimize Rust binary size 📦

  4. cross

    “Zero setup” cross compilation and “cross testing” of Rust crates

    Project mention: Rust on the RP2350 | news.ycombinator.com | 2025-03-18

    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

  5. juniper

    GraphQL server library for Rust

  6. cargo-edit

    A utility for managing cargo dependencies from the command line.

  7. cargo-expand

    Subcommand to show result of macro expansion

  8. cargo-make

    Rust task runner and build tool.

    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.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. tarpaulin

    A code coverage tool for Rust projects

  11. bacon

    background code checker

    Project mention: Better Shell History Search | news.ycombinator.com | 2025-03-25

    > 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/

  12. cargo-generate

    cargo, make me a project

    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++.

  13. cargo-chef

    A cargo-subcommand to speed up Rust Docker builds using Docker layer caching.

    Project mention: Supercharging Obsidian.md with OpenAI, Qdrant and Rust | dev.to | 2024-07-03

    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.

  14. kondo

    Cleans dependencies and build artifacts from your projects.

  15. cargo-deny

    ❌ Cargo plugin for linting your dependencies 🦀

    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.

  16. cargo-dist

    📦 shippable application packaging

  17. rustsec

    RustSec API & Tooling

  18. cargo-fuzz

    Command line helpers for fuzzing

  19. jql

    A JSON Query Language CLI tool

  20. mongo-rust-driver

    The official MongoDB Rust Driver

  21. rust-script

    Run Rust files and expressions as scripts without any setup or compilation step.

    Project mention: Rust-Script | news.ycombinator.com | 2025-02-26
  22. cargo-release

    Cargo subcommand `release`: everything about releasing a rust crate.

  23. cargo-update

    A cargo subcommand for checking and applying updates to installed executables

  24. cargo-outdated

    A cargo subcommand for displaying when Rust dependencies are out of date

  25. corrosion

    Marrying Rust and CMake - Easy Rust and C/C++ Integration!

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Cargo discussion

Log in or Post with

Cargo related posts

  • Understand Your Dependencies

    2 projects | news.ycombinator.com | 19 Apr 2025
  • Rust-Script

    1 project | news.ycombinator.com | 26 Feb 2025
  • Open Source Insights

    1 project | news.ycombinator.com | 14 Feb 2025
  • Rob Pike: On Bloat

    2 projects | news.ycombinator.com | 14 Feb 2025
  • We are the "thin blue line" that is trying to keep the code high quality

    1 project | news.ycombinator.com | 13 Feb 2025
  • Comprehensive Guide to Generating `.deb` and `.rpm` Packages for Rust Applications

    2 projects | dev.to | 4 Feb 2025
  • Build a Database in Four Months with Rust and 647 Open-Source Dependencies

    4 projects | news.ycombinator.com | 15 Jan 2025
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 18 May 2025
    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 →

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

Sponsored
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.
www.influxdata.com