Top 23 Rust Cargo Projects
GraphQL server library for RustProject 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.
“Zero setup” cross compilation and “cross testing” of Rust cratesProject 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: 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.
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.
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).
A code coverage tool for Rust projectsProject 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%.
Subcommand to show result of macro expansionProject 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.
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?
Run Linux Software Faster and Safer than Linux with Unikernels.
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.
Audit Cargo.lock files for dependencies with security vulnerabilitiesProject 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
The official MongoDB Rust DriverProject 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.
Command line helpers for fuzzingProject mention: Symphonia v0.3: pure-Rust decoders for MP3, WAV, FLAC, AAC | reddit.com/r/rust | 2021-06-29
People use cargo-fuzz.
cargo, make me a projectProject 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:
A cargo subcommand for displaying when Rust dependencies are out of dateProject 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.
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
❌ 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.
Automatically apply the suggestions made by rustc
A cargo subcommand that generates Debian packages from information in Cargo.tomlProject 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.
A cargo subcommand for checking and applying updates to installed executablesProject 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.
Cargo script subcommandProject 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
ranger-like terminal file manager written in RustProject 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..
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!
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.
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.
What are some of the best open-source Cargo projects in Rust? This list will help you:
Are you hiring? Post a new remote job listing for free.