Skip to main content
LESSON

Rust Course - Week2

For details, you can study the official Rust language documentation open in new window and the following chapters: - Chapter 11 Writing Automated Tests - Chapter 14 More about Cargo and Crates.io open in new window

DAY8-DAY9: Rust project management and testing

1. Specific requirements

  1. Rust crate management and module system
  2. Rust unit testing framework and test case writing
  3. Publish crates to crate.ioopen in new window

2. Display of learning results

Specifically, you can learnRust language official documentationopen in new window The following chapters:
- Chapter 11 Writing Automated Tests
- Chapter 14More about Cargo and Crates.ioopen in new window

Complete a small project, including file organization, testing, and module crate division such as Cargo.toml. Can chooseRust language official documentationopen in new windowThe topic of Chapter 12 is to build a command line Grep search program, read files according to configuration parameters, handle errors, save matching content, and build unit test cases to cover functional testing, performance testing, exception testing, etc.

3. Reference materials

Rust cheat sheetopen in new window

DAY10-DAY14: Rust data structure and algorithm learning

1. Specific requirements

Learn the following knowledge points:

  1. Linked list, tree, graph data structures written in Rust language
  2. Rust algorithm recursion, divide and conquer, backtracking, DFS, BFS, Dynamic programming, etc.
  3. Learn common data structures and algorithm interfaces in the Rust standard library

2. Display of learning results

For details, you can study the relevant chapters of "Data Structure and Algorithm Rust Language Description".

FinishData structure exercisesopen in new window

3. Reference materials

  1. Hello algorithmopen in new window
  2. The Algorithmsopen in new window
  3. iEDA Rust language data structures and algorithmsopen in new window