To get the most out of this book
You will need a Rust compiler by installing Rustup and the stable toolchain on your computer. You can use Linux, macOS, or Windows. For macOS users, it is recommended to use Homebrew. For Windows users, it is recommended to install Rustup using the Windows Subsystem for Linux (WSL or WSL 2).
All the code in this book has been tested on Arch Linux and macOS, but they should work on other Linux distributions or the Windows operating system as well.
Since Rust is a compiled language, various development headers might have to be installed on your computer, for example, libssl-dev
or libpq-dev
. Pay attention to error messages when compiling the code sample in this book, and install the required libraries for your operating system and development environment if needed.
Further along in the book, in Chapter 10, we are going to process videos using the FFmpeg
command line.
If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book's GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.