Skip to content

Commit 72778cf

Browse files
committed
Setup clippy and rustfmt. Add a design to the README.
1 parent 4584d22 commit 72778cf

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ A distributed in memory key-value database. This is a toy database implemented a
1212
- [ ] **Replication**
1313
- [ ] **Sharding**
1414
- [ ] **Local Dev** (Docker?)
15+
16+
## [Initial] High Level Design
17+
![Design](r_db-high-level-design.png)

rustfmt.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
edition = "2018"

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![warn(clippy::all)]
2+
13
fn main() {
24
println!("Hello, world!");
35
}

0 commit comments

Comments
 (0)