valkeyree

Crates.iovalkeyree
lib.rsvalkeyree
version0.1.7
created_at2025-10-19 14:43:10.268626+00
updated_at2025-10-31 14:03:06.613529+00
descriptionAn async Rust Valkyrie that speaks RESP — carrying your commands between realms of Valkey.
homepage
repositoryhttps://github.com/j-p-d-e-v/valkyree
max_upload_size
id1890495
size115,991
JP (jpmateo022)

documentation

README

Valkeyree

Valkeyree — the messenger between realms.

She rides the async winds of Tokio, delivering your commands from Rust to Valkey in pure RESP form — fearless, fast, and forged in Rust. ⚡

A modern Rust library for crafting, sending, and decoding Valkey commands — elegant, async, and fearless.

Installing

cargo add valkeyree

Crates IO: https://crates.io/crates/valkeyree

✨ Features

  • ⚡ Async I/O powered by Tokio
  • 🧱 Low-level RESP2/RESP3(In the future) encoder & decoder
  • 🧩 Command builders and typed result enums
  • 🔐 Authentication & ACL-ready
  • 🚀 Built for pipelining and future Valkey releases

Usage

let config = ConnectionConfig {
    address: "127.0.0.1:6379".to_string(),
    username: Some("myapp".to_string()),
    password: Some("password123".to_string()),
};
// Create a new client
let client = Client::new(config).await?;
// Send a SET command
let set_command = CommandKind::Set("myclient".into(), Value::String("hey".into()));
let result = client.send(set_command).await?;
// Send a GET command
let get_command = CommandKind::Get("myclient".into());
let result = client.send(get_command).await?;

License

See LICENSE for details.

Commit count: 0

cargo fmt