jacobbishopxy/note-rust-lang

A study note of Rust language

The Rust Programming Language

Note Rust Lang

.

  1. learning path
  2. demo projects

References

Official references:

  • Rust by Example
  • The Rust Reference
  • Rustlings
  • The Cargo Book
  • Edition Guide
  • The Rustonomicon: Unsafe Rust Programing
  • Async Book
  • The Unstable Book

Other useful references:

  • pretzelhammer/rust-blog
  • rust-unofficial/too-many-lists
  • rust-unofficial/patterns
  • Possible Rust
  • Rust Language Cheat Sheet
  • rust-algorithms: Common data structures and algorithms in Rust
  • The Little Book of Rust Macros
  • The Rust Performance Book
  • The Rust Machine Learning Book

Project Structure

├── doc
│   ├── Asynchronous Programming in Rust
│   ├── Learn Rust With Entirely Too Many Linked Lists
│   ├── Rust By Example
│   ├── Rust Design Patterns
│   ├── 
│   ├── The Rust Reference
│   └── The Rustonomicon
│
├── leetcode
│
├── resources
│
├── sample_code
│   ├── tmll
│   │   ├── Cargo.toml
│   │   └── src
│   │       ├── first.rs
│   │       ├── second.rs
│   │       ├── third.rs
│   │       ├── fourth.rs
│   │       ├── fifth.rs
│   │       └── lib.rs
│   │
│   ├── trpl
│   │   ├── Cargo.toml
│   │   ├── 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
│   │
│   ├── trpl_example
│   │   ├── Cargo.toml
│   │   └── src
│   │       ├── main.rs
│   │       └── bin
│   │           ├── blog.rs
│   │           ├── gui.rs
│   │           ├── hello_macro.rs
│   │           ├── minigrep.rs
│   │           └── web_server.rs
│   │
│   ├── Cargo.lock
│   └── Cargo.toml
│
├── README.md
└── target

doc

Study notes/Book translation in Chinese.

  • Asynchronous Programming in Rust
  • Learn Rust With Entirely Too Many Linked Lists
  • Rust By Example
  • Rust Design Patterns
  • The Rustonomicon

leetcode

README

resources

  • rust.json: VsCode Rust snippets

sample_code

trpl [lib]

Examples from ''.

  • 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_example [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

Information - Updated Apr 26, 2022

Stars: 3
Forks: 0
Issues: 0

Tensorflow rust bindings with loads of easy to use documentation

bindings for documentation can be found in github or on our docs page

Tensorflow rust bindings with loads of easy to use documentation

Wasm template for Rust hosting without npm-deploy on github pages using Travis script

It automatically hosts your wasm projects on gh-pages using a travis script on the latest commit

Wasm template for Rust hosting without npm-deploy on github pages using Travis script

Roctogen: a rust client library for the GitHub v3 API

This client API is generated from the Isahc HTTP client

Roctogen: a rust client library for the GitHub v3 API

Rust crate for logging to LogDNA

Bug reports and pull requests are welcome on GitHub at

Rust crate for logging to LogDNA

A rust github template for ease of use

Install the rust toolchain in order to have cargo installed by following

A rust github template for ease of use

Rust-generated WebAssembly GitHub action template

A template to bootstrap the creation of a Rust-generated WebAssembly GitHub action

Rust-generated WebAssembly GitHub action template

Template for Rust lib/bin module with built-in GitHub Action to build and test

You will want to change the lib name and bin name in Cargo

Template for Rust lib/bin module with built-in GitHub Action to build and test

cargo_auto_github_lib

Library for cargo-auto automation tasks written in rust language with functions for github

cargo_auto_github_lib

A Rust library to connect to AxonServer

See the GitHub project Command / Query Responsibility Segregation (CQRS)

A Rust library to connect to AxonServer

Rust client implementation for Brasil API

Rust client implementation for BrasilAPI GitHub Project

Rust client implementation for Brasil API
Facebook Instagram Twitter GitHub Dribbble
Privacy