Looking for some small rust projects with an elegant code base that I can study.

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

InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
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
  1. ripgrep

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

    https://github.com/BurntSushi/ripgrep if you're not afraid to delve deep a bit

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. command-line-rust

    Code for Command-Line Rust (O'Reilly, 2024, ISBN 9781098109417)

  4. ncspot

    Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.

    Ncspot. A terminal Spotify client. Small, simple, well organized, async, perfect for learning. https://github.com/hrkfdn/ncspot

  5. code

    Source code for the book Rust in Action (by rust-in-action)

  6. json

    Strongly typed JSON library for Rust (by serde-rs)

    I think serde-json is quite nice. It's easy to follow, uses traits for ideomatic polymorphism, and is just nice in general.

  7. chess-tactics-cli

    A tactics trainer for the command line

  8. pipe-rename

    Rename your files using your favorite text editor

  9. 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
  10. bessie

    an authenticated, chunked cipher based on BLAKE3

    This is my code, so reader beware, but here's an example of a toy command line program which uses clap v3 with subcommand support, anyhow-based error handling, and a little bit of abstraction with std::io traits: https://github.com/oconnor663/bessie/blob/main/rust/bin/src/main.rs

  11. stitch

    Communication between threads in a reactive, real-time safe manner. (by jleben)

    I think stitch is a great example. It's a pretty small library that accomplishes a single goal (real-time lock-free queues for inter-process communication). Uses modern C++--atomics, std::array. It's reasonably well tested. AND uses modern CMake best practices.

  12. nushell

    A new type of shell

  13. argparse

    Argument Parser for Modern C++

    argparse is another good one. Templated (delicious), tested, AND has conan and debian package deployment.

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

  • fd - A simple, fast and user-friendly alternative to 'find'

    2 projects | news.ycombinator.com | 24 Sep 2024
  • Fzf advanced integration in Powershell

    4 projects | dev.to | 5 Jun 2024
  • Any Linux admins willing to try Pygrep?

    6 projects | /r/linuxadmin | 18 Mar 2023
  • Anyone else feel like they are using Pandas as a crutch?

    1 project | /r/dataengineering | 5 Mar 2023
  • xsv

    1 project | /r/ITProTuesday | 3 Mar 2023

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