Part of the Rust Crash Course: https://www.youtube.com/playlist?list=PL6yRaaP0WPkWRsXJgdnw9lj1vchAaKwfS

Welcome to the Rust Crash Course

In this course, we will be learning Rust from scratch. This course is very fast paced and designed for programmers who already have some experience with another programming language such as Dart or JavaScript or Swift. We will talk about variables, constants, ownership, functions, structures, enumerations, collections such as tuples, vectors, hash-maps and iterators, optionals, error handling, lifetime specifiers, traits, pointers, generics, packages, crates, modules and paths, asynchronous programming and we will also create 2 sample applications using Rust to put all these concepts to use!

PCMP (Packages, Crates, Modules and Paths) are one of the most important parts of learning about code reusability in Rust. In this chapter we will create a package with 1 library crate and 1 binary crate and link them together.

Timestamps:
00:00 - Packages, Crates, Modules and Paths
00:09 - PCMP
04:07 - Create your binary crate
04:26 - Create a library crate in the binary crate's folder
05:22 - Define your modules in intutils/src/lib.rs
07:13 - Import the addition module in src/main.rs
07:36 - Import the subtract module in src/main.rs
07:41 - Go ahead and use the functions in main.rs
09:55 - We won't go too much into details about PCMP


If you want to support my work, please consider joining my YouTube channel by pressing the Join button!

Twitter: https://twitter.com/vandadnp
LinkedIn: https://linkedin.com/in/vandadnp

Let's get started!