Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Rust #3.2 - Importing External Dependencies in Rust: Adding the Num Library
Play lesson

Build a Blockchain from Scratch with Rust - Rust #3.2 - Importing External Dependencies in Rust: Adding the Num Library

5.0 (5)
40 learners

What you'll learn

This course includes

  • 3.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Full Transcript

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/

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere