Skip to content

Commit 5b8a9df

Browse files
committed
added prettierignore for markup and removed formatting
1 parent 071d4f6 commit 5b8a9df

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.md

en/src/elegant-code-base.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Small projects with Elegant code base
2-
3-
Following questions come up weekly in online Rust discussions:
2+
Following questions come up weekly in online Rust discussions:
43

54
- I just finished reading The Book, what should I do next ?
65
- What projects would you recommend to a Rust beginner?
@@ -16,31 +15,27 @@ This is precisely the goal of this book, so, collecting relative resourses and r
1615
Answers for above questions usually came with [`ripgrep`](https://github.com/BurntSushi/ripgrep), though I don't think it is a **small** project, but yes, go for it if you are not afraid to delve deep a bit.
1716

1817
### 2. Building a text editor
19-
2018
Tutorial [`https://www.flenker.blog/hecto/`](https://www.flenker.blog/hecto/) will lead you to build a text editor from scratch.
2119

2220
### 3. Ncspot
23-
2421
[Ncspot](https://github.com/hrkfdn/ncspot), a terminal Spotify client. Small, simple, well organized and async, it's good for learning.
2522

2623
### 4. Command Line Rust
27-
2824
[This project](https://github.com/kyclark/command-line-rust) is for the book `Command-Line Rust(O'Reily)`, it will show you how to write small CLIs (clones of `head`, `cat`, `ls`).
2925

3026
### 5. pngme book
31-
32-
[This book](https://picklenerd.github.io/pngme_book/) will guide you to make a command line program that lets you hide secret messages in PNG files. The primary goal here is to get you writing code. The secondary goal is to get you reading documentation.
27+
[This book](https://picklenerd.github.io/pngme_book/) will guide you to make a command line program that lets you hide secret messages in PNG files. The primary goal here is to get you writing code. The secondary goal is to get you reading documentation.
3328

3429
### 6. Writing an OS in Rust
3530

3631
[This blog series](https://os.phil-opp.com) creates a small operating system in the Rust programming language. Each post is a small tutorial and includes all needed code, so you can follow along if you like. The source code is also available in the corresponding [Github repository](https://github.com/phil-opp/blog_os).
3732

33+
3834
### 7. CodeCrafters.io: Build your own Git, Docker, SQLite, or Redis
3935

4036
On [CodeCrafters](https://codecrafters.io/for/rust), you can recreate your favorite developer tools from scratch. It's a hands-on, minimally-guided approach to master Rust, while appreciating the internals and documentation of popular technology that we use every day.
4137

4238
### 8. mini-redis
43-
4439
[mini-redis](https://github.com/tokio-rs/mini-redis) is an incomplete Redis client and server implementation using tokio, it has decent code base and detail explanations, very suitable for learning Rust and asynchronous programming.
4540

4641
### 9. Writing Interpreters in Rust
@@ -49,4 +44,5 @@ On [CodeCrafters](https://codecrafters.io/for/rust), you can recreate your favor
4944

5045
---
5146

47+
5248
**To be continued...**

zh-CN/src/elegant-code-base.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
# 值得学习的小型项目
2-
3-
在国内外的各大 Rust 论坛上,以下问题非常常见:
2+
在国内外的各大 Rust 论坛上,以下问题非常常见:
43

54
- 作为 Rust 新手,有哪些项目值得推荐学习?
65
- 求推荐代码优雅的小型项目
76
- 有哪些值得推荐的简单、易读的项目
87

98
这些问题的答案往往只有一个,那就是实践:做一些优秀的练习题,然后阅读一些小而美的 Rust 项目。
109

11-
这个恰恰跟本书的目标吻合,因此,我们决定收集一些优秀的资源,并在 _Rust 语言实战_ 中呈现给大家。
10+
这个恰恰跟本书的目标吻合,因此,我们决定收集一些优秀的资源,并在 _Rust语言实战_ 中呈现给大家。
1211

1312
### 1. Ripgrep
1413

@@ -41,11 +40,10 @@
4140
[CodeCrafters](https://codecrafters.io/for/rust) 上,你可以从头开始重新创建您最喜欢的开发人员工具。这是一种掌握 Rust 的实践、最低限度指导的方法,同时欣赏我们每天使用的流行技术的内部结构和文档。
4241

4342
### 8. mini-redis
44-
4543
[mini-redis](https://github.com/tokio-rs/mini-redis) 是一个不完整的 Redis 客户端、服务器实现,由 tokio 官方出品,代码质量非常高,而且有详细的注释,非常适合学习 Rust 和异步编程。
4644

4745
### 9. 使用 Rust 写一个解析器
4846

4947
[这本开源书](https://github.com/rust-hosted-langs/book) 是一个使用 Rust 语言实现编译型语言的教程。
5048

51-
**To be continued...**
49+
**To be continued...**

0 commit comments

Comments
 (0)