Hey Rustaceans! Got a question? Ask here! (37/2022)!

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

Our great sponsors
  • Mergify - Updating dependencies is time-consuming.
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SonarQube - Static code analysis for 29 languages.
  • tracing

    Application level tracing for Rust.

    It looks to be the same for all the tracing crates. They bump the version in a detached commit and tag it: https://github.com/tokio-rs/tracing/blob/tracing-subscriber-0.3.15/tracing-subscriber/Cargo.toml

  • rust-phf

    Compile time static maps for Rust

    Maybe phf will come handy?

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • rkyv

    Zero-copy deserialization framework for Rust

    rkyv is awesome because it supports full zero-copy deserialization. You can serialize your HashMap to a file. Later you can directly use the HashMap from the file without creating and populating a new HashMap in memory (rkyv directly indexes into the raw bytes). For even faster access times you can even mmap the file.

  • RocksDB

    A library that provides an embeddable, persistent key-value store for fast storage.

    My problem is that both ceph and the rust crate in question utilize the rocksdb store (in rust I use this one) and when I try compiling the project I get multiple definition errors since both the C++ rocksdb and Rust rocksdb are exposing the same functions.

  • tui-rs

    Build terminal user interfaces and dashboards using Rust

  • sea-orm

    🐚 An async & dynamic ORM for Rust

    I'm playing around with the SeaORM implementation of rocket, here, and noticed that the database connection is passed around as a Fairing, however, in the official step by step tutorial, the database connection is managed by state here.

  • book

    The Rust Programming Language

    I know everyone is different, but hoping to get an approximate idea: how long should it take me to go through the official rust book https://doc.rust-lang.org/book/ ?

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • serde

    Serialization framework for Rust

    I see there's even a report for that - https://github.com/serde-rs/serde/issues/2277 - but considering the timeline I guess it might be your own! 😅

  • xdg-utils-ng

    Various patches to xdg-utils-ng

    However, while googling around I found a fork of xdg-utils (where xdg-open comes from) and with it, this script: https://github.com/matthewbauer/xdg-utils-ng/blob/master/scripts/xdg-file-dialog

  • alacritty

    A cross-platform, OpenGL terminal emulator.

    Is there a way to get an accurate line count and compile time? For example https://github.com/alacritty/alacritty. It takes ~50s to compile on my machine. I can't figure out the line count when it includes dependencies

  • tokei

    Count your code, quickly.

    My approach would be to use Tokei to count LOC and cargo-tree(1) to find dependencies. You can then locate the dependencies in the registry and count each of their LOC, then combine the results.

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