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

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • rust

    Empowering everyone to build reliable and efficient software.

  • Unconstrained constant generics are not allowed. https://github.com/rust-lang/rust/issues/68366 There must be some call somewhere in your program that actually binds the const value for it to resolve at compile-time.

  • rfcs

    RFCs for changes to Rust

  • It is an official part of the Rust org. It was intended as a place for new projects to live while they are in a "trial" period before graduating to the rust-lang org (see RFC 1242). It is no longer being used for new projects, and most projects have either moved to rust-lang, or have been deprecated. The rest haven't been moved just due to time constraints.

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

    InfluxDB logo
  • actix-web

    Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

  • Hi, I haven't used this framework before, but actix-web seems to have the features you're looking for.

  • dirs-rs

    a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows

  • I'm using dirs to get the home directory. However, dirs::home_dir() returns an Option, which I can't quite grasp how to extract the string from, and the repo doesn't have examples for it either.

  • rust-sdl2

    SDL2 bindings for Rust

  • I'm confused about this part in sdl2's readme:

  • aoc-runner-derive

  • I don't think that a way do this is actually guaranteed to work, see Crate local state for procedural macros? Issue #44034. That said there are crates that do this anyway since currently rustc expands macros from top to bottom in source files and doesn't cache the result so the proc macros are always re-run each time the code is compiled. Two crates that rely on this by using global variables in their procedural macro code are: enum_dispatch and aoc-runner (see here).

  • rust-peg

    Parsing Expression Grammar (PEG) parser generator for Rust

  • The peg crate has a resolved issue about this.

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

    WorkOS logo
  • tail

    My implementation of the tail tool to (continuously) read the tail end of a file. See https://en.wikipedia.org/wiki/Tail_(Unix) (by LeCyberDucky)

  • I've been using those today in this small project: https://github.com/LeCyberDucky/tail/blob/main/src/main.rs

  • wedge_of_existence

    an ascii game set in a modern world

  • The currently broken (although the latest commit should work) version is on my github, and the re-work is over here! (as well as a graveyard of unfinished little projects)

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