Best practices for designing traits in public crates?

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

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. eventually-rs

    Event Sourcing for Rust

    While I like now that there is a single trait involved (which also makes it easier to write super-types), I don't like the requirement for those associated type names like type GetError and type SaveError. I also don't particularly like the idea of hiding everything behind a single Error type, as it kinda defeats the purpose of having such a nice type system like the one Rust has.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. patterns

    A catalogue of Rust design patterns, anti-patterns and idioms

  4. api-guidelines

    Rust API guidelines (by rust-lang)

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

  • Rust: Tools (early access edition)

    2 projects | news.ycombinator.com | 30 Nov 2024
  • Ask HN: Learning new coding patterns – how to start?

    3 projects | news.ycombinator.com | 10 Nov 2023
  • Haskell mini-patterns handbook (2020)

    1 project | news.ycombinator.com | 4 Sep 2023
  • Is there any site with Dos and Don'ts in Rust?

    1 project | /r/rust | 10 Jul 2023
  • Functional Options Pattern in Go and Rust

    2 projects | /r/learnrust | 3 Jun 2023

Did you know that Handlebars is
the 89th most popular programming language
based on number of references?