June 2021
Beginner
344 pages
8h 9m
English
The code accompanying this book is provided as a Rust Workspace. This combines several projects into one. The code is divided into directories as follows:
| | root |
| | /chapter_name |
| | /example_name |
| | /src --- the source code for this example |
| | /resources --- files that accompany this example |
| | Cargo.toml --- a file telling Rust's Cargo system how to build/run |
| | the example. |
| | |
| | /src --- a simple program source reminding you that you probably meant to |
| | navigate to an example and run that---not the workspace. |
| | Cargo.toml --- a file telling Rust's Cargo system that the other |
| | projects are part of the workspace. |
You can run code examples by navigating to the chapter_name/example_name directory and typing cargo run.
Read now
Unlock full access