Lets Learn Rust - 2 - Cargo Basics

6 months ago
16

G'day guys.

This video just shows you some of the basics of using the Cargo build and package tool to build and run your application for both development and for production use.

Important Times

00:00 - Introduction
00:17 - What is Cargo
00:54 - Verifying Cargo is installed
01:12 - Creating a new project
02:06 - Breakdown of files in a Cargo project
04:03 - How to build a Debug app using cargo build
06:06 - How to run a Debug app using cargo run
08:06 - How to build a Release app using cargo build
09:10 - How to run a Release app using cargo run
09:35 - How to check compilation using cargo check
11:02 - Conclusion

Loading comments...