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

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

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • case-studies

    Analysis of various tricky Rust code

    Addendum: Technically there are various hacks out in the wild that can get something like this working using macros, but their usefulness is more limited. Once generics are in play, they stop working for the same reason and you are back to square one. Such approaches include autoref specialization which (ab)uses type inferrence to select different methods with the same name (kind of similar to what you seemed to be trying to do) and OIBIT specialization, which relies on a different nightly feature.

  • rust

    Empowering everyone to build reliable and efficient software.

    TcpBuilder::listen() provides the backlog parameter which is not exposed by TcpListener::bind(); instead, it looks like they chose the magic number 128 so that's what I used here to reproduce the std behavior (there's no comment as to why this value was chosen, I assume it's just one that "felt right"): https://github.com/rust-lang/rust/blob/master/library/std/src/sys_common/net.rs#L386

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • rusqlite

    Ergonomic bindings to SQLite for Rust

    I want to use arrays in sqlite but the documentations for rusqlite doesn't have examples of how to use the extra array feature. How do I store and search text arrays in rusqlite?

  • Cargo

    The Rust package manager

    AFAIK cargo install uses the default feature set i.e. sse2. It was decided against using target-cpu=native by default https://github.com/rust-lang/cargo/issues/4150.

  • rfcs

    RFCs for changes to Rust (by withoutboats)

    I'm not qualified to give an in-depth answer, but the short answer is that you can't. This has been proposed and postponed: Link

  • cross

    “Zero setup” cross compilation and “cross testing” of Rust crates

    I've used cargo cross before with good results. It spins up a docker container to test your code on a remote target. Should be a bit simpler than relying on raw docker builds for a quick test cycle.

  • book

    The Rust Programming Language

    The official Rust book is available online and very good.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • coreutils

    Cross-platform Rust rewrite of the GNU coreutils

    need a review on this https://github.com/uutils/coreutils/pull/1791

  • opencv-rust

    Rust bindings for OpenCV 3 & 4

    I added opencv-rust as a dependency to a project. It makes my builds and even cargo check s really slow. It seems to invoke the build.rs script every time even when just type checking. Is this intentional? Is there any way to avoid this?

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