What are some examples of particularly well written crates?

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

InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • regex

    An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.

    I'd consider regex to be a good example candidate. It has many tests, including benchmarks, fuzzing, and unit testing. It works well as an example of how to structure a mid-size program.

  • InfluxDB

    Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.

    InfluxDB logo
  • bevy

    A refreshingly simple data-driven game engine built in Rust

    Bevy

  • rust

    Empowering everyone to build reliable and efficient software.

    Rust Itself

  • redis-rs

    Redis library for rust

    I think the redis crate was a well-organized API library. It's still sometimes hard to know the right things to make public and I think they nailed it.

  • sled

    the champagne of beta embedded databases

  • ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

    How come ripgrep wasn't mentioned yet?

  • rust-analyzer

    Discontinued A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer] (by rust-analyzer)

    rust-analyzer has put a lot of work into its organization. Especially architecture.md explains a lot of the API decisions and the reasoning behind them.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • windows-rs

    Rust for Windows

    https://github.com/microsoft/windows-rs should be Microsoft-standard..!

  • pulldown-cmark

    An efficient, reliable parser for CommonMark, a standard dialect of Markdown

    The crate that's closest to production quality code is pulldown-cmark, but I don't hold it up as an example of well-written code, because it's not particularly easy to understand and there's a lot of very low level code to consume the CommonMark syntax - that helps with code bloat and compile time, but not clarity.

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

  • SD: Intuitive find and replace CLI (sed alternative)

    1 project | news.ycombinator.com | 5 Sep 2024
  • Ripgrep Cheatsheet For Neovim Users

    2 projects | dev.to | 10 Aug 2024
  • CryptoFlow: Building a secure and scalable system with Axum and SvelteKit - Part 3

    3 projects | dev.to | 8 Jan 2024
  • Command Line Rust is a great book

    4 projects | /r/rust | 8 Dec 2023
  • Common Rust Lifetime Misconceptions

    4 projects | news.ycombinator.com | 4 Dec 2023

Did you konow that Rust is
the 5th most popular programming language
based on number of metions?