Fluent Rust covers everything you could want to know about the language. It comes as no surprise that Rust has consistently secured the title of "Most Loved Language" in the Stack Overflow Developer Survey.
Authors Klabnik and Nichols, esteemed alumni of the Rust Core Team, generously share their expertise to assist you in harnessing the full potential of Rust's features. Their insights equip you with the necessary knowledge to build robust and scalable programs. Starting from the fundamentals, such as function creation, data type selection, and variable binding, the book progresses to cover advanced topics, including:
Ownership and borrowing, lifetimes, generics, traits, and trait objects for effective communication of your program's constraints to the compiler.
Smart pointers and multithreading, illustrating how ownership interacts with these concepts to enable fearless concurrency.
Utilizing Cargo, Rust's built-in package manager, for code building, documentation, and dependency management.
Best practices for testing, error handling, refactoring, and leveraging expressive pattern matching.
Alongside numerous code examples, the book also dedicates three chapters to constructing complete projects, namely a number-guessing game, a Rust implementation of a command-line tool, and a multithreaded server.