Rust #3.2 - Importing External Dependencies in Rust: Adding the Num Library
WEB3DEV
In this lesson, we explore how to import external dependencies into our Rust blockchain project. We'll focus on adding the num library (crate), which provides additional numerical operations not found in Rust's standard library. You'll learn how to use the command cargo add num to update your cargo.toml file and automatically download and install the library from crates.io. This process is analogous to using package.json in JavaScript for managing dependencies. By the end of this lesson, you'll be equipped to extend your Rust projects with powerful external libraries
This video is part of a learning journey created by WEB3DEV. To watch all videos and learn more, sign-up at https://build.w3d.community/ ... https://www.youtube.com/watch?v=PpLmza4FF08
7773306 Bytes