What's your favorite Rust design pattern?

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

Our great sponsors
  • InfluxDB - Access the most powerful time series database as a service
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • mimirsbrunn

    Geocoding and reverse-geocoding (with OSM data)

    It's impressive how natural it is, I had implemented this exact pattern without even being aware it was a thing on an elasticsearch wrapper to enforce three steps : creating an empty index, then inserting/updating documents and finally publishing (creating aliases, forcemerge), you can also ensure the caller won't forget this last step with a #[must_use] on intermediate types (code for brave curious).

  • gdnative

    Rust bindings for Godot 3

    Current version of godot-rust uses type-state to declare Ref references "safe to use" once the user has asserted their safety, and to switch between shared/unique/thread-local ownership.

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

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