tao.
← All topics

Rust

10 posts

Rust 5 min read

Rust clap in Practice: Build a Production-Ready CLI

Learn Rust clap 4.6 through runnable examples, from the Derive API and common arguments to subcommands, enums, validation, environment variables, friendly errors, and a maintainable CLI structure.

Rust 3 min read

Rust Prost-Build Usage Guide

When writing Rust programs that need to interact with Protobuf, prost is a great choice. prost-build provides a convenient tool for generating Rust code for Protobuf messages and services. This article will provide a detailed guide on how to use prost-build.