Skip to content

abcdabcd3899/Dive-Into-Rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dive Into Rust: A Crash Course

Github stars Github language License Stars

good artists copy; great artists steal. - Pablo Picasso

Introduction

The project's goal is to delve into rust features for languages and standard libraries. Coding is preferable to speaking.

Installation

  • Rust Installation
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • Rust Codes Installation
rustup update
rustup toolchain install stable-aarch64-unknown-linux-gnu
rustup component add rust-src rustc-dev llvm-tools-preview # rust source code

You may read the source code as long as you have rust source code and rust-analyzer installed.

How to run the project

I use vscode to create, build, execute, and clean the project in Ubuntu. To make the project easier to use, I created the tasks.json and launch.json files. Using the keyboard shortcut "command + shift + B," you may choose the different commands in tasks.json. To debug the various source codes, press the F5 button.

Replace Cargo Mirror

vim ~/.cargo/config
[http]
check-revoke = false

[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'ustc'
[source.ustc]
registry = "https://mirrors.ustc.edu.cn/crates.io-index"
# registry = "git://mirrors.ustc.edu.cn/crates.io-index"

Outline of Features

crates

Contribute

Please open pull requests if you want to add new features.

References

  1. Standard Library
  2. The Rust Programming Languages
  3. Rust by Example
  4. tikv
  5. Learn Rust by writing Entirely Too Many linked lists
  6. libs.rs
  7. crates.io

Agreement

More information document of agreement

Attribution - Non-commercial - No interpretation

About

Rust Programming Solutions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published