This is a learning project. The goal was to implement something interesting in rust using a Clean/Hexagonal Architecture. A thread-safe Bitcask-like key-value store with a CLI and REST API fit the bill nicely. Inspired by these articles:
- Build a BLAZINGLY FAST key-value store with Rust
- Data-oriented, clean&hexagonal architecture software in Rust – through an example project
- Hexagonal architecture in Rust
cargo build
cargo run -- help
Usage: kvstore [OPTIONS] [COMMAND]
Commands:
set
get
del
server
help Print this message or the help of the given subcommand(s)
Options:
-d, --data-dir <DATA_DIR>
-h, --help Print help
-V, --version Print version