Hey Rustaceans! Got an easy question? Ask here (52/2021)!

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/rust

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Zigi - Delete the most useless function ever: context switching.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Scout APM - Truly a developer’s best friend
  • book

    The Rust Programming Language

    You should try reading the rust book, one of the first things it tells you is how to install rust

  • futures-batch

    An adapter for futures, which chunks up elements and flushes them after a timeout — or when the buffer is full. (Formerly known as tokio-batch.)

    Is there any ready-made way of doing that or do I have to roll my own? I found futures-batch but I can't make it work with tokio channels. I feel like I'm missing something obvious.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • mutagen

    Breaking your Rust code for fun and profit (by llogiq)

    Do you mean as part of build.rs? Yes, that's certainly doable, and has been done in the past. You can use env!("OUT_DIR") for that. Examples you may want to refer to include my mutagen crate and criterion.

  • OPA (Open Policy Agent)

    An open source, general-purpose policy engine.

    What I'm interested in doing is creating something similar to Open Policy Agent but something which doesn't use Rego for the scripting language. I don't need anything super complex like OPA. What I do want is to implement a simple "policy as code" and allow end users to write a script (in this case Rhai) that can let them create more robust authorization policies.

  • tokio

    A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

    Hi r/rust! I want to use tokio for an online (via TCP) pub/sub network, but I can't figure out how. It seems tokio does not support topics/messages out-of-the-box. I have searched through many crates, most of which can do pub/sub but not through a TCP connection. Some guiding tips would be much appreciated!

  • rumqtt

    The MQTT ecosystem in rust

    As for clients/brokers for MQTT, the most well maintained looks to be rumqtt.

  • oso

    Oso is a batteries-included framework for building authorization in your application.

    First time hearing about rhai, but there's a project in that space called Oso that's authored in Rust and uses a different DSL than Rego. You may or may not find it appealing.

  • Zigi

    Delete the most useless function ever: context switching.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

  • rr

    Record and Replay Framework

    Maybe instead of re-running the program, you could just record its execution and work on that? (https://rr-project.org/)

  • too-many-lists

    Learn Rust by writing Entirely Too Many linked lists

    Writing self-referential data structures is fairly difficult in Rust, even for experienced users. There's a good series that builds up several concepts that will be useful here even though it's about linked lists instead of trees: Learn Rust With Entirely Too Many Linked Lists

  • rust

    Empowering everyone to build reliable and efficient software.

    No, but here's an issue about it: https://github.com/rust-lang/rust/issues/53749

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts