FOREWORD by Nicholas Matsakis and Aaron Turon
PREFACE
ACKNOWLEDGMENTS
INTRODUCTION
Who Rust Is For
Teams of Developers
Students
Companies
Open Source Developers
People Who Value Speed and Stability
Who This Book Is For
How to Use This Book
Resources and How to Contribute to This Book
1GETTING STARTED
Installation
Command Line Notation
Installing rustup on Linux or macOS
Installing rustup on Windows
Updating and Uninstalling
Troubleshooting
Local Documentation
Hello, World!
Creating a Project Directory
Writing and Running a Rust Program
Anatomy of a Rust Program
Compiling and Running Are Separate Steps
Hello, Cargo!
Creating a Project with Cargo
Building and Running a Cargo Project
Building for Release
Cargo as Convention