rekv

Crates.iorekv
lib.rsrekv
version0.0.3
created_at2025-11-10 10:15:07.379513+00
updated_at2025-11-11 12:36:15.460266+00
descriptionAn experimanntal redis like Key-Value-Store client and server.
homepage
repositoryhttps://github.com/atduyar/rekv
max_upload_size
id1925071
size22,661
Ahmet Tarık Duyar (Atduyar)

documentation

README

rekv

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.

Installation

Install via Cargo:

cargo install rekv

Usage

Start the server (default address is 127.0.0.1:4242):

rekv --addr 127.0.0.1:4242

Start the interactive CLI:

rekv --cli

Commands

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.

License

MIT License.

Commit count: 0

cargo fmt