started with using rocksdb to store the data.

- debug binary is no 274MB.... lol
- added encoding and decoding function
This commit is contained in:
Sebastian Moser
2022-09-14 23:08:43 +02:00
parent ebc47934dc
commit 2f6ce1d5aa
8 changed files with 298 additions and 88 deletions

View File

@@ -7,14 +7,15 @@ edition = "2021"
[[bin]]
name = "server"
path = "server-main.rs"
path = "src/server-main.rs"
[[bin]]
name = "client"
path = "client-main.rs"
path = "src/client-main.rs"
[dependencies]
futures-util = "0.3.24"
rocksdb = "0.19.0"
tokio = {version = "1.21.0", features = ["full"]}
tokio-stream = "0.1.9"
warp = "0.3.2"