Skip to content

What's New

v0.9.0 (Rust preview)

Release Date: 10/7/2026

Valkey GLIDE for Rust is now available on crates.io as a preview release.

valkey-glide is a native Rust client that's built on the same Rust engine that powers the other GLIDE clients. It includes async and blocking clients for standalone and cluster mode, pipelines and transactions, pub/sub, AWS IAM authentication, and OpenTelemetry. The command API mirrors redis-rs 1.7.0, so most code migrates with minimal changes.

[!NOTE] This is a preview release. The API may still change. We would love your feedback: please open an issue.

Installation

cargo add valkey-glide
cargo add tokio --features rt-multi-thread,macros

The package is named valkey-glide and is imported as glide. The minimum supported Rust version is 1.94.1.

use glide::{AsyncTypedCommands, GlideClient, GlideClientConfiguration};

#[tokio::main]
async fn main() -> glide::ValkeyResult<()> {
    let config = GlideClientConfiguration::with_address("localhost", 6379);
    let client = GlideClient::connect(config).await?;

    client.set("hello", "world").await?;
    let value = client.get("hello").await?;
    assert_eq!(value.as_deref(), Some("world"));
    Ok(())
}

Key Features

  • Async and blocking clients: GlideClient and GlideClusterClient run on Tokio, and the sync feature (on by default) adds blocking versions.
  • Familiar API for redis-rs users: The command API mirrors redis-rs 1.7.0, so most code migrates with minimal changes. See the migration guide.
  • Broad command coverage: Typed methods for all major data types, plus custom_command for anything else.
  • Batching: Pipelines and MULTI/EXEC transactions, with optional per-call timeout and retry settings.
  • Cluster support: Route commands to specific nodes and scan across the whole cluster.
  • Authentication and TLS: AWS IAM authentication for ElastiCache and MemoryDB, runtime password rotation, and TLS.
  • Pub/Sub: Subscribe when connecting or at runtime, including sharded channels.
  • OpenTelemetry: Export traces and metrics over gRPC, HTTP, or to a file.

Supported Platforms

The client supports the same engine versions as GLIDE (see the Supported Engine Versions table). It is tested on Linux x86_64 and aarch64. Other platforms, such as macOS, should work anywhere glide-core builds, but we haven't tested them yet.

Supporting Crates

This release also publishes the internal crates the client depends on:

These are internal crates and aren't meant to be used directly.

Resources

Release: https://github.com/valkey-io/valkey-glide/releases/tag/rust/v0.9.0

v2.5.3

Release Date: 9/25/2026

What's Changed

Full Changelog: https://github.com/valkey-io/valkey-glide/compare/v2.5.2...v2.5.3

Release: https://github.com/valkey-io/valkey-glide/releases/tag/v2.5.3

v2.5.2

Release Date: 9/2/2026

What's Changed

Full Changelog: https://github.com/valkey-io/valkey-glide/compare/v2.5.1...v2.5.2

Release: https://github.com/valkey-io/valkey-glide/releases/tag/v2.5.2