DAY8-DAY9: Rust project management and testing
1. Specific requirements
- Rust crate management and module system
- Rust unit testing framework and test case writing
- Publish crates to crate.io
2. Display of learning results
Specifically, you can learnRust language official documentation The following chapters:
- Chapter 11 Writing Automated Tests
- Chapter 14More about Cargo and Crates.io
Complete a small project, including file organization, testing, and module crate division such as Cargo.toml. Can chooseRust language official documentationThe 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
DAY10-DAY14: Rust data structure and algorithm learning
1. Specific requirements
Learn the following knowledge points:
- Linked list, tree, graph data structures written in Rust language
- Rust algorithm recursion, divide and conquer, backtracking, DFS, BFS, Dynamic programming, etc.
- 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 exercises;