mirror of
https://github.com/Rigellute/redis-rust.git
synced 2026-04-25 20:55:59 +03:00
No description
| src | ||
| tests | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| demo.gif | ||
| demo.tape | ||
| README.md | ||
🪀 Toy Redis Clone in Rust 🚀
Purely for fun and learning, kicked off by following the excellent codecrafters Redis course.
✨ Features
- Parse the Redis serialization protocol (RESP) specification
- Handle concurrent connections
- Implement commands:
PINGECHOGETSETwith optional expiry
- Integration tests
👷♂️ Run locally
In one terminal, start our toy Redis server:
cargo run
And then use the redis-cli to query our server:
$ redis-cli PING
PONG
$ redis-cli ECHO 'Hello World!'
"Hello World!"
$ redis-cli SET myKey 1234
OK
$ redis-cli GET myKey
"1234"
🧪 Run tests
cargo test
