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

  • bevy

    A refreshingly simple data-driven game engine built in Rust

  • Bevy

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

  • 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
  • Text Showdown: Gap Buffers vs. Ropes

    3 projects | news.ycombinator.com | 9 Oct 2023
  • Regex Engine Internals as a Library

    5 projects | news.ycombinator.com | 5 Jul 2023