2022-03-14 19:57:21 -06:00
< div align = "center" >
2022-04-09 06:51:00 -05:00
< img src = "https://github.com/sunface/rust-by-practice/blob/master/en/assets/header.png?raw=true" >
2022-03-14 19:57:21 -06:00
< / div >
< p align = "center" > Practice Rust with challenging examples, exercises and projects< / p >
< div align = "center" >
2022-03-05 04:25:26 -06:00
2022-03-14 19:57:21 -06:00
[![Stars Count ](https://img.shields.io/github/stars/sunface/rust-by-practice?style=flat )](https://github.com/sunface/rust-by-practice/stargazers) [![Forks Count ](https://img.shields.io/github/forks/sunface/rust-by-practice.svg?style=flat )](https://github.com/naaive/orange/network/members)
[![LICENSE ](https://img.shields.io/badge/license-mit-green?style=flat )](https://github.com/sunface/rust-by-practice/blob/master/LICENSE)
< / div >
2022-03-05 04:25:26 -06:00
2022-03-14 19:57:21 -06:00
This book was designed for easily diving into and get skilled with Rust, and it's very easy to use: All you need to do is to make each exercise compile without ERRORS and Panics !
## Reading online
2022-03-05 04:25:26 -06:00
- [English ](https://practice.rs )
- [简体ä¸æ–‡ ](https://zh.practice.rs )
2022-03-14 19:57:21 -06:00
## Running locally
We use [mdbook ](https://rust-lang.github.io/mdBook/ ) building our exercises. You can run locally with below steps:
```shell
$ cargo install mdbook
$ cd rust-by-practice & & mdbook serve
```
2022-03-03 00:03:57 -06:00
## Features
2022-02-25 19:56:55 -06:00
2022-03-05 04:25:26 -06:00
Part of our examples and exercises are borrowed from [Rust By Example ](https://github.com/rust-lang/rust-by-example ), thanks for your great works!
Although they are so awesome, we have our own secret weapons :)
2022-03-03 00:03:57 -06:00
- There are three parts in each chapter: examples, exercises and practices
2022-03-03 00:14:31 -06:00
2022-03-05 04:25:26 -06:00
- Besides examples, we have `a lot of exercises` , you can Read, Edit and Run them ONLINE
2022-03-14 19:57:21 -06:00
- Covering nearly all aspects of Rust, such as async/await, threads, sync primitives, optimizing, standard libraries, tool chain, data structures and algorithms etc.
2022-03-05 04:25:26 -06:00
- Every exercise has its own solutions
- The overall difficulties are a bit higher and from easy to super hard: easy 🌟 medium 🌟🌟 hard 🌟🌟🌟 super hard 🌟🌟🌟🌟
**What we want to do is fill in the gap between learning and getting started with real projects.**