GitXplorerGitXplorer
c

all-about-Rust

public
1 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
04e7c6964976e8f8c1afa2769b9b970d73dbad4f

Add Chinese explanation for Send and Sync descriptions

cchengr4 committed 6 months ago
Unverified
79ec9766435ff7156891e2e420b70b5c0c37cd50

Add concurrency module with Send and Sync images

cchengr4 committed 6 months ago
Unverified
075214928e6f571ac1242bd7c0f88a71e4974f31

add figure

cchengr4 committed 9 months ago
Unverified
a42e268d34d4ba891c027015ebfdecaaf08a99c0

Add Tokio async module

cchengr4 committed 9 months ago
Unverified
39b3da99648a35370623f6c8bef1fb2f9c18fd9a

Add macros.md file

cchengr4 committed 9 months ago
Verified
214b171c5518d8261e0cea6a0b5da73e599de76b

Update README.md

cchengr4 committed a year ago

README

The README file for this repository.

All about Rust

  • Core: traits and safe access to data
  • Package manager: cargo
  • Common indent: 4 spaces
  • Print line is called "marco" (by exclamation mark !)
  • Shadowing: Define a variable with same name but different data types

Cargo

Create project:

cargo new <folder_name>
or
cargo init

Compile code:

rustc <file_name>
cargo r
cargo run
cargo build
cargo build --release

Researchable Resources