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

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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

    Open Policy Agent (OPA) is 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • 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