Advanced Rust: Managing Projects

Advanced Rust: Managing Projects

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 38m | 838 MB

Are you looking for the next step to advance from the initial Rust essential training to manage growing Rust projects and writing automated test routines? In this course, instructor Barron Stone has exactly what you need. He explains how to manage projects using the Rust module system and explores topics such as using the “mod” keyword to define modules, navigating paths in Rust, and identifying parts of a program as public or private. Barron shows you how to automate tests, using test functions, assert! macros, custom failure messages, unit tests, integration tests, and more. This course can help you take the next step in your learning journey for mastering Rust.

Table of Contents

Introduction
1 Manage and test Rust projects
2 What you should know

Managing Projects
3 The module system
4 Packages vs. crates
5 Defining modules
6 Absolute vs. relative path
7 Public modules
8 Public structs and enums
9 Bringing paths into scope
10 Using external crates
11 Separating modules into multiple files
12 Challenge Organize a project
13 Solution Organize a project

Automating Tests
14 Test functions
15 assert! macro
16 Custom failure messages
17 assert eq! and assert ne! macros
18 should panic! macro
19 Controlling test execution
20 Unit tests
21 Integration tests
22 Challenge Write automated tests
23 Solution Write automated tests

Conclusion
24 Next steps

Homepage