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

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

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • 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

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

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

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • 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