Skip to content

MARKDOWN SOURCE

Raw
# Project instructions: mini-redis

Build a small asynchronous TCP key-value server in Rust with a useful subset of the Redis RESP protocol. Support core commands such as PING, GET, SET, and DEL; persistence may be added if it remains small and well-tested.

## Rules for this project

- This project is independent: keep all source, tests, and configuration inside `projects/mini-redis`. Do not import or copy code from another showcase.
- Use Rust `1.98.1`, pinned in this directory's `mise.toml`.
- Manage toolchains and external build tools with `mise.toml`. Pin every Rust crate to an exact version (`=x.y.z`) in `Cargo.toml`, commit `Cargo.lock`, and use locked Cargo commands. Mise does not replace Cargo's crate manifest/lockfile.
- Provide `mise run install` and `mise run run` tasks. Add a check task and run Clippy with `all` and `pedantic` enabled; fix warnings rather than suppressing them broadly.
- Do not require a Redis installation or invoke external server/client binaries for the implementation. Pin any optional development tools with mise.
- Include protocol/parser and concurrency tests and a README with supported commands and connection examples.

Project instructions: mini-redis

Build a small asynchronous TCP key-value server in Rust with a useful subset of the Redis RESP protocol. Support core commands such as PING, GET, SET, and DEL; persistence may be added if it remains small and well-tested.

Rules for this project

  • This project is independent: keep all source, tests, and configuration inside projects/mini-redis. Do not import or copy code from another showcase.
  • Use Rust 1.98.1, pinned in this directory's mise.toml.
  • Manage toolchains and external build tools with mise.toml. Pin every Rust crate to an exact version (=x.y.z) in Cargo.toml, commit Cargo.lock, and use locked Cargo commands. Mise does not replace Cargo's crate manifest/lockfile.
  • Provide mise run install and mise run run tasks. Add a check task and run Clippy with all and pedantic enabled; fix warnings rather than suppressing them broadly.
  • Do not require a Redis installation or invoke external server/client binaries for the implementation. Pin any optional development tools with mise.
  • Include protocol/parser and concurrency tests and a README with supported commands and connection examples.