The Secrets of Rust: Tools
The Secrets of Rust: Tools
Master the world’s favourite programming language with my friendly guide to building durable Rust software.
Who is this book for?
Rust programmers at any level who want to learn how to build safe, reliable, and high-performance software.
What problem does it solve?
It bridges the gap between “hello world” examples and application-scale codebases in Rust. Tutorials are great for learning the language, but building production-quality software requires a different set of skills. The Secrets of Rust: Tools shows you how to apply the full power of Rust to real-world programs that solve real user problems.
The book walks you through developing a series of practical, idiomatic, well-factored Rust programs, step by step and guided by tests. Along the way, you’ll develop the skills and habits used by professional Rust developers.
What will I learn?
Starting with small but useful command-line tools, we’ll gradually work up to larger applications that interact with files, services, and operating-system facilities. Along the way, we’ll build confidence and experience in key concepts like software design, testing, data modelling, and systems programming.
- Crates: design modular, friendly APIs without the paperwork.
- CLIs: write practical programs with input, output, arguments, flags, and error handling.
- Ownership: understand Rust’s safety guarantees, borrowing, references, mutability, and lifetimes.
- Files: use Rust’s standard library for reading and writing data, and handling paths, tree walking, file descriptors and modes.
- Testing: learn idiomatic Rust test patterns, practices, and libraries.
- Commands: manage processes, streams, OS interaction, and systems programming.
What do I get?
- PDF and ePub included
- Works on computers, tablets, phones, and ebook readers
- Free lifetime updates for new Rust versions
Roberto Porcar, System Engineer, Data In Fact
“A valuable resource… this book stands out.”
Among the more than 20 Rust books I've purchased, this one stands out. It was a refreshing read that reminded me of the enthusiasm I felt when I first started learning Rust. I'd suggest reading it alongside the official Rust book if you are completely new to the language.
The book is packed with practical examples and it provides guidance on writing clean, efficient, reusable code. It focuses on good design principles and robust coding practices. The examples are practical and engaging, showcasing best practices for efficient coding. The author also shows how to refactor and test each project sample, and I appreciate the topics he chose and how they are broken down for better understanding. It's a valuable resource for anyone looking to learn Rust properly.
Sagar Suri, Senior Software Engineer, Netflix
“Thank you for this great book!”
I have never come across a programming book that is so simple and fun to read. I really enjoyed it.
Jakub Jarosz, Senior Software Engineer, Nginx
“Made my first steps in Rust very easy.”
The conversational style and detailed explanations really help. Thoroughly recommended!

