Command-Line Rust: A Project-Based Primer for Writing Rust CLIs

Command-Line Rust: A Project-Based Primer for Writing Rust CLIs

ISBN: 1098109430

ISBN 13: 9781098109431

Publication Date: February, 2022

Publisher: O'Reilly Media, Inc.

Author: Ken Youens-Clark

3.82 of 32

Click the button below to register a free account and download the file


Download PDF

Download ePub

*Disclosure:“This post may contain affiliate links and I earn from qualifying purchases”.


For several consecutive years, Rust has been voted "most loved programming language" in Stack Overflow's annual developer survey. This open source systems programming language is now used for everything from game engines and operating systems to browser components and virtual reality simulation engines. But Rust is also an incredibly complex language with a notoriously difficult learning curve.

Rather than focusing on the language as a whole, this guide teaches Rust using a single small, complete, focused program in each chapter. Author Ken Youens-Clark shows you how to start, write, and test each of these programs to create a finished product. You'll learn how to handle errors in Rust, read and write files, and use regular expressions, Rust types, structs, and more.