| Crates.io | rekv |
| lib.rs | rekv |
| version | 0.0.3 |
| created_at | 2025-11-10 10:15:07.379513+00 |
| updated_at | 2025-11-11 12:36:15.460266+00 |
| description | An experimanntal redis like Key-Value-Store client and server. |
| homepage | |
| repository | https://github.com/atduyar/rekv |
| max_upload_size | |
| id | 1925071 |
| size | 22,661 |
Rekv is a lightweight, multi-threaded in-memory key-value store written in Rust. It supports simple operations like setting, getting, deleting, and incrementing values. It can be run in server mode or through an interactive CLI for quick testing.
Install via Cargo:
cargo install rekv
Start the server (default address is 127.0.0.1:4242):
rekv --addr 127.0.0.1:4242
Start the interactive CLI:
rekv --cli
| Command | Description |
|---|---|
GET <key> |
Retrieves the value of the given key. |
SET <key> <value> |
Sets the value for the key. Value can be string/number. |
DEL <key> |
Deletes the key and its value. |
ADD <key> <number> |
Adds a number to the existing numeric value. |
.quit |
Exits the interactive CLI. |
MIT License.