bbb80c341e0584c67a01148b0f5ba6db417bc4d6
Continuation of #11. Refines the client structure and implements GET. `clap` is decoupled from the lib code. This is done to avoid any CLI parsing concerns to leak into the lib. The main motivation for this is to allow the reader to focus on Tokio concerns and not CLI parsing concerns.
mini-redis
mini-redis is a lightweight, idiomatic implementation of Redis built with tokio.
Logging
mini-redis uses tracing to provide structured logs. Debug logs can be displayed by running:
RUST_LOG=debug cargo run --bin server
Logs will appear when commands are sent to the server from a client.
More documentation on enabling different log levels and filtering logs can be found here.
Languages
Rust
100%