Package Management with Cargo
Explore how to use Cargo for Rust package management in game development. Understand dependency installation, semantic versioning, feature flags, and managing crates to streamline your project setup.
We'll cover the following...
We'll cover the following...
Dependencies
Cargo can install dependencies for us. There’s an ever-growing number of crates (Rust’s name for packages) available for free on the crates.io system. Cargo makes it easy to install and use these crates and to publish our own.
We can search available crates by typing cargo search [search term] or by visiting the crates website. For example, searching for bracket-terminal produces the following:
This also searches ...