What's your favorite Rust design pattern?

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

    Discontinued 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

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