Skip to content

Jacobbishopxy/note-rs

Repository files navigation

Note Rust Lang

A study note of Rust language.

  1. my learning path
  2. my demo projects

References

Official references:

Other useful references:

Project Structure

│
├── Asynchronous Programming in Rust
│
├── Learn Rust With Entirely Too Many Linked Lists
│
├── Rust By Example
│
├── Rust Design Patterns
│
├── The Rust Programming Language
│
├── The Rust Reference
│
├── The Rustonomicon
│
├── sample_code
│   ├── tmll
│   │   ├── Cargo.toml
│   │   └── src
│   │       ├── first.rs
│   │       ├── second.rs
│   │       ├── third.rs
│   │       ├── fourth.rs
│   │       ├── fifth.rs
│   │       └── lib.rs
│   │
│   ├── trpl
│   │   ├── Cargo.toml
│   │   ├── bin
│   │   │   ├── blog.rs
│   │   │   ├── gui.rs
│   │   │   ├── hello_macro.rs
│   │   │   ├── minigrep.rs
│   │   │   └── web_server.rs
│   │   ├── src
│   │   │   ├── minigrep
│   │   │   │   ├── data.rs
│   │   │   │   └── func.rs
│   │   │   ├── blog.rs
│   │   │   ├── gui.rs
│   │   │   ├── hello_macro.rs
│   │   │   ├── lib.rs
│   │   │   ├── messenger.rs
│   │   │   ├── minigrep.rs
│   │   │   ├── oop_encapsulation.rs
│   │   │   └── web_server.rs
│   │   └── trpl_derive
│   │       ├── Cargo.toml
│   │       └── src
│   │           └── lib.rs
│   │
│   ├── Cargo.lock
│   └── Cargo.toml
│
├── README.md
└── target

doc

Study notes/Book translation in Chinese.

leetcode

README

resources

sample_code

trpl [lib]

Examples from 'The Rust Programming Language'.

  • minigrep: book TRPL chapter 12
  • messenger: book TRPL chapter 15.5
  • oop_encapsulation: book TRPL chapter 17.1
  • gui: book TRPL chapter 17.2
  • blog: book TRPL chapter 17.3
  • hello_macro: book TRPL chapter 19.5
  • web_server: book TRPL chapter 20

trpl [bin]

  • blog run: cargo run -p trpl_example --bin blog

  • minigrep run: cargo run -p trpl_example --bin minigrep -- the poem.txt or CASE_INSENSITIVE=1 cargo run -p trpl_example --bin minigrep -- the poem.txt

  • minigrep test: cargo test -p trpl -- tests_minigrep

  • gui run: cargo run -p trpl_example --bin gui

  • hello_macro run: cargo run -p trpl_example --bin hello_macro

  • web_server run: cargo run -p trpl_example --bin web_server

tmll

Examples from 'Learn Rust With Entirely Too Many Linked Lists'.

  • first test: cargo test -p tmll -- test_first

  • second test: cargo test -p tmll -- test_second

  • third test: cargo test -p tmll -- test_third

  • fourth test: cargo test -p tmll -- test_fourth

About

Rust language studies & notes

Resources

License

Stars

Watchers

Forks