Rust Build system

Open-source Rust projects categorized as Build system

Top 23 Rust Build system Projects

Build system
  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 high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. cargo-edit

    A utility for managing cargo dependencies from the command line.

  4. moon

    A build system and monorepo management tool for the web ecosystem, written in Rust.

    Project mention: Ask HN: Best Tools for Monorepo? | news.ycombinator.com | 2024-07-31

    In our projects we use Moon https://moonrepo.dev/moon extensively, it supports multiple languages and quite a few features.

    For me personally I like that it updates Typescript references automatically and makes docker image setup far easier.

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

  6. toast

    Containerize your development and continuous integration environments. 🥂 (by stepchowfun)

  7. cargo-release

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

    Project mention: Changelog-Driven Releases | news.ycombinator.com | 2024-04-23

    My problem with maintaining a changelog during development is it can serve as a source of merge conflicts. Instead, I follow Covnentional Commit style and manually write my changelog entries based on the commits. I have a tool [0] that can show me the relevant commits for a package in my repo and automates the entire release process, including doing sanity checks.

    I also feel like releasing from CI is hard, especially if you have multiple packages in a repo [1], including

    - You can't as easily introspect the process

    - You can't as easily recover from failure

    - Getting a lot of the nuance right, like handling releases concurrent to merging of PRs, is difficult

    - When the workflow is an ever-present "release PR" that you merge when ready has issues with selecting which packages to release and at what version

    I have been considering making a tool to generate changelogs from fragments. Been keeping notes at https://github.com/epage/epage.github.io/issues/23

    [0]: https://github.com/crate-ci/cargo-release

    [1]: https://github.com/MarcoIeni/release-plz/discussions/1019

  8. cargo-update

    A cargo subcommand for checking and applying updates to installed executables

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. cargo-outdated

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

  11. cargo-modules

    Visualize/analyze a Rust crate's internal structure

  12. cargo-script

    Cargo script subcommand

  13. n2

    n2 ("into"), a ninja compatible build system

    Project mention: N2: An alternative ninja implemrntation in Rust | news.ycombinator.com | 2024-10-16
  14. cargo-benchcmp

    A small utility to compare Rust micro-benchmarks.

  15. Zork

    Project manager and builder automation tool for modern C++ projects (by zerodaycode)

  16. overflower

    A Rust compiler plugin and support library to annotate overflow behavior

  17. shipp

    Deadly simple package manager

  18. cargo-check

  19. cargo-bitbake

    cargo extension that can generate BitBake recipes utilizing the classes from meta-rust

  20. cargo-testify

    Watches changes in a rust project, runs test and shows friendly notification

  21. fac

    Fac is a general-purpose build system that runs on Linux only, which automatically tracks dependencies by observing the build commands in operation. (by droundy)

  22. salo

    Declarative, reproducible, statically typed build and deployment for Operating Systems.

  23. elite

    Fegeya Elitebuild, small, powerful build system. Written in Rust. (by ferhatgec)

  24. TokenParser

    Tool that converts your Figma tokens to any language made with Rust

  25. cargo-do

    allows you to run multiple cargo commands in a row

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

Rust Build system discussion

Log in or Post with

Rust Build system related posts

  • Show HN: Nix Ninja – open-source Ninja-compatible build system for Nix

    2 projects | news.ycombinator.com | 3 Apr 2025
  • Malware found on NPM infecting local package with reverse shell

    3 projects | news.ycombinator.com | 26 Mar 2025
  • Fish 4.0.0

    8 projects | news.ycombinator.com | 27 Feb 2025
  • Comprehensive Guide to Generating `.deb` and `.rpm` Packages for Rust Applications

    2 projects | dev.to | 4 Feb 2025
  • Making your own PR to the SurrealDB source code

    2 projects | dev.to | 29 Jan 2025
  • Rust registry error "candidate versions found which didn't match"

    1 project | dev.to | 4 Jan 2025
  • Building a Better Monorepo with TypeScript, Turborepo, or Nx

    1 project | dev.to | 11 Nov 2024
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 19 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

What are some of the best open-source Build system projects in Rust? This list will help you:

# Project Stars
1 Cargo 13,392
2 cargo-edit 3,189
3 moon 3,146
4 cargo-make 2,720
5 toast 1,586
6 cargo-release 1,409
7 cargo-update 1,305
8 cargo-outdated 1,283
9 cargo-modules 1,084
10 cargo-script 741
11 n2 403
12 cargo-benchcmp 352
13 Zork 154
14 overflower 105
15 shipp 101
16 cargo-check 97
17 cargo-bitbake 84
18 cargo-testify 81
19 fac 78
20 salo 37
21 elite 27
22 TokenParser 20
23 cargo-do 20

Sponsored
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com

Did you know that Rust is
the 5th most popular programming language
based on number of references?