Rust Cargo

Open-source Rust projects categorized as Cargo | Edit details

Top 23 Rust Cargo Projects

  • GitHub repo juniper

    GraphQL server library for Rust

    Project mention: Looking for GraphQL server with ws-transport ability | reddit.com/r/rust | 2021-10-10

    I'm looking for graphql server that can do queries and mutations over websocket, like subscriptions-transport-ws. Juniper and async-graphql both looks promising and async-graphql at least uses wording Subscriptions (WebSocket transport) in features but i couldn't find much more or any examples about that from the docs or repo.

  • GitHub repo cross

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

    Project mention: Ive been going over this for a while and have no idea how to make --target not use glibc even with musl | reddit.com/r/rust | 2021-09-25

    Check this out https://github.com/rust-embedded/cross. It basically build your rust program in docker using the oldest supported LTS release of ubuntu (currently ubuntu 16.04 with glibc 2.23).

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo cargo-edit

    A utility for managing cargo dependencies from the command line.

    Project mention: Rust for Data Science: Tutorial 1 | dev.to | 2021-08-24

    I am using currently cargo add from the good cargo-edit (quick inst: cargo install cargo-edit) to handle dependencies, and VisualStudio Code as dev IDE.

  • GitHub repo cargo-watch

    Watches over your Cargo project's source.

    Project mention: Rust's Most Unrecognized Contributor | news.ycombinator.com | 2021-05-03

    It caches things between builds, and if you use dev builds (the default) it doesn't take as long as production. For ergonomics you can install cargo-watch (https://crates.io/crates/cargo-watch) which helps a bit.

    An important thing though, if you aren't doing this already, is to not wait for a full build to know if your types check out. You can use cargo-check if you prefer (https://doc.rust-lang.org/cargo/commands/cargo-check.html), but really I recommend using an IDE with responsive feedback if at all possible. rust-analyzer is one of the best, and should be supported even if you're on Vim or something.

    Using Rust without snappy editor hints is fairly miserable because of how interactive the error feedback loop tends to be. If you don't rely on a full build for errors - just for actual testing - I find the build times to be perfectly fine (at least in the smallish projects I've done).

  • GitHub repo tarpaulin

    A code coverage tool for Rust projects

    Project mention: GlueSQL v0.7 - INDEX & ORDER BY are newly added. | reddit.com/r/rust | 2021-06-30

    Code quality also has become quite better than the last year. Almost codes in the project are tested by either unit or integration tests. Code coverage using tarpaulin is above 90%.

  • GitHub repo cargo-expand

    Subcommand to show result of macro expansion

    Project mention: Question: Is it possible to expand macros into their resulting elixir source code? | reddit.com/r/elixir | 2021-08-15

    For example, in Rust there is cargo expand which is the sort of functionality I'm looking for.

  • GitHub repo cargo-make

    Rust task runner and build tool.

    Project mention: Approach for releasing an application that has assets | reddit.com/r/rust | 2021-03-24

    Have you checked out cargo make?

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo xargo

    The sysroot manager that lets you build and customize `std`

    Project mention: Hey Rustaceans! Got an easy question? Ask here (53/2020)! | reddit.com/r/rust | 2020-12-28

    If you need to pass arguments to rustc, try cargo rustc or RUSTFLAGS instead of invoking it manually. If you're cross-compiling, check out cross (uses Docker) or xargo.

  • GitHub repo rustsec

    Audit Cargo.lock files for dependencies with security vulnerabilities

    Project mention: Releasing vec-const: An evil crate that allows Vecs to be declared as const | reddit.com/r/rust | 2021-08-14

    Or more usefully https://rustsec.org which will result in an error for anyone using cargo audit, e.g. a previous advisory for a crate that is designed to be unsound: https://rustsec.org/advisories/RUSTSEC-2020-0013.html

  • GitHub repo mongo-rust-driver

    The official MongoDB Rust Driver

    Project mention: mongodb and bson 2.0.0 have been released! | reddit.com/r/rust | 2021-09-08

    To see the full set of changes, check out the release notes . If you run into any issues, please file an issue on JIRA or on our GitHub repository.

  • GitHub repo cargo-fuzz

    Command line helpers for fuzzing

    Project mention: Symphonia v0.3: pure-Rust decoders for MP3, WAV, FLAC, AAC | reddit.com/r/rust | 2021-06-29

    People use cargo-fuzz.

  • GitHub repo cargo-generate

    cargo, make me a project

    Project mention: Rust on the front-end | dev.to | 2021-07-04

    The first tutorial step focuses on the setup. It's short and is the most "copy-pastey" of all. The reason for that is that it leverages cargo-generate, a Cargo plugin that allows creating a new project by using an existing Git repository as a template. In our case, the template is a Rust project ready to compile to Wasm. The project's structure is:

  • GitHub repo cargo-outdated

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

    Project mention: 5 useful Cargo Plugins | reddit.com/r/rust | 2021-08-17

    I'd add cargo-outdated for checking for outdated dependencies. cargo-tree is also useful, but that's built into cargo itself for some time already.

  • GitHub repo cargo-release

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

    Project mention: Introducing `cargo smart-release` - the new way to release workspace crates | reddit.com/r/rust | 2021-08-13

    Yes, developers from all three tools were sharing ideas with each other recently

  • GitHub repo cargo-deny

    ❌ Cargo plugin for linting your dependencies 🦀

    Project mention: Blog post: Cross compiling Rust Windows binaries from Linux | reddit.com/r/rust | 2021-08-22

    OpenSSL has been banned in our project for a variety of reasons via cargo-deny for around a year and half, it was actually one of the reasons we created it in the first place.

  • GitHub repo rustfix

    Automatically apply the suggestions made by rustc

  • GitHub repo cargo-deb

    A cargo subcommand that generates Debian packages from information in Cargo.toml

    Project mention: Rustup, Cargo, Rustc?? | reddit.com/r/rust | 2021-03-01

    cargo install does provide different options to change the installation dir (https://doc.rust-lang.org/cargo/commands/cargo-install.html) but I am uncertain, if there could be accociated issues. An alternative could be tools like https://github.com/mmstick/cargo-deb or https://github.com/iqlusioninc/cargo-rpm that can automatically create packages which can be used for a proper installation /usr/bin/ using your distributions packaging system.

  • GitHub repo cargo-update

    A cargo subcommand for checking and applying updates to installed executables

    Project mention: Git-cliff: generate changelog files from the Git history | news.ycombinator.com | 2021-09-05

    I initially was interested in Rust because of performance + speed + safety, but now I have to say that cargo is a big selling point for me.

    I always used to be scared of compiling software myself because I never seemed to be able to get it to work without endless headaches. Now, I generally find it easy to compile Rust programs if they aren't in my package manager, and with cargo install-update https://github.com/nabijaczleweli/cargo-update I find it easy to keep the software up to date. I have higher confidence that I can get hobbyist Rust software working, and the more Rust software I use, the more familiar I am with the ecosystem and the more comfortable I am.

    If this was written in some obscure language I wasn't familiar with, I'd be less confident I would be able to run it at all, let alone keep it updated, and I may not bother even trying to install it.

  • GitHub repo cargo-script

    Cargo script subcommand

    Project mention: How do you share your code ? | reddit.com/r/rust | 2021-07-08

    O seems that this does already exist: https://github.com/DanielKeep/cargo-script

  • GitHub repo joshuto

    ranger-like terminal file manager written in Rust

    Project mention: Which file manager do you use and why? | reddit.com/r/archlinux | 2021-10-04

    There is joshuto, written in Rust. Not sure if it is fully there yet..

  • GitHub repo kondo

    Save disk space by cleaning non-essential files from software projects.

    Project mention: Your favorite Rust CLI utility? I have my top 10 below. | reddit.com/r/rust | 2021-08-05

    Thanks for shouting out kondo, I'm stoked people are enjoying & getting use out of it!

  • GitHub repo cargo-chef

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

    Project mention: Blog Post: Fast Rust Builds | reddit.com/r/rust | 2021-09-05

    I agree with you that the tutorial is incomplete, but I don't get what you're trying to say. Did you link the wrong thing? That is the CI for cargo-chef (as opposed to a CI setup with cargo-chef), which, unsurprisingly, doesn't use cargo-chef.

  • GitHub repo rust-script

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

    Project mention: Shell Scripting in Rust | reddit.com/r/rust | 2021-07-01

    Scriptisto is neat, but rust-script is probably more comfortable since it's not trying to be language-agnostic.

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). The latest post mention was on 2021-10-10.

Index

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

Project Stars
1 juniper 4,023
2 cross 2,275
3 cargo-edit 1,978
4 cargo-watch 1,472
5 tarpaulin 1,292
6 cargo-expand 1,117
7 cargo-make 1,108
8 xargo 883
9 rustsec 878
10 mongo-rust-driver 837
11 cargo-fuzz 812
12 cargo-generate 810
13 cargo-outdated 696
14 cargo-release 688
15 cargo-deny 654
16 rustfix 652
17 cargo-deb 619
18 cargo-update 569
19 cargo-script 547
20 joshuto 511
21 kondo 509
22 cargo-chef 410
23 rust-script 334
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com