Our great sponsors
-
ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
-
command-line-rust
Code for Command-Line Rust (O'Reilly, 2022, ISBN 9781098109417) https://learning.oreilly.com/library/view/command-line-rust/9781098109424/
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
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.
https://github.com/BurntSushi/ripgrep if you're not afraid to delve deep a bit
Ncspot. A terminal Spotify client. Small, simple, well organized, async, perfect for learning. https://github.com/hrkfdn/ncspot
I think serde-json is quite nice. It's easy to follow, uses traits for ideomatic polymorphism, and is just nice in general.
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
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.
argparse is another good one. Templated (delicious), tested, AND has conan and debian package deployment.