- Hands-On Data Structures and Algorithms with Rust
- Claus Matzinger
- 76字
- 2021-07-02 14:11:45
Project configuration
In order to recognize a Rust project, cargo requires its manifest to be present, where most of the other aspects (metadata, source code location, and so on) can be configured. Once this has been done, building the project will create another file: Cargo.lock. This file contains the dependency tree of a project with library versions and locations in order to speed up future builds. Both of these files are essential to a Rust project.