All Projects → ltoddy → redis-rs

ltoddy / redis-rs

Licence: MIT license
Redis client for Rust.

Programming Languages

rust
11053 projects
Makefile
30231 projects

Projects that are alternatives of or similar to redis-rs

Redis Async Rs
A Rust client for Redis, using Tokio
Stars: ✭ 141 (+464%)
Mutual labels:  redis-client
Servicestack.redis
.NET's leading C# Redis Client
Stars: ✭ 2,236 (+8844%)
Mutual labels:  redis-client
lib mysqludf redis
Provides Mysql UDF commands to synchronize data from Mysql to Redis.
Stars: ✭ 20 (-20%)
Mutual labels:  redis-client
Camellia
camellia framework by netease-im. provider: 1) redis-client; 2) redis-proxy(redis-sentinel/redis-cluster); 3) hbase-client; 4) others
Stars: ✭ 146 (+484%)
Mutual labels:  redis-client
Go Rejson
Golang client for redislabs' ReJSON module with support for multilple redis clients (redigo, go-redis)
Stars: ✭ 164 (+556%)
Mutual labels:  redis-client
Pottery
Redis for humans. 🌎🌍🌏
Stars: ✭ 204 (+716%)
Mutual labels:  redis-client
Redis web manager
Manage your Redis instance (see keys, memory used, connected client, etc...)
Stars: ✭ 139 (+456%)
Mutual labels:  redis-client
redisbloom-go
Go Client for RedisBloom probabilistic module
Stars: ✭ 74 (+196%)
Mutual labels:  redis-client
Redis3m
A C++ Redis client
Stars: ✭ 173 (+592%)
Mutual labels:  redis-client
RedisDrive
This is a.Net redis integrated driver to support a single instance, cluster, sentinel and other modes of data manipulation 这是一个.net 的redis集成驱动,支持单实例、云集群、哨兵等模式的数据操作
Stars: ✭ 19 (-24%)
Mutual labels:  redis-client
Redisdesktopmanager Mac
Redis Desktop Manager Mac OSX DMG
Stars: ✭ 149 (+496%)
Mutual labels:  redis-client
Acl
Server framework and network components written by C/C++ for Linux, Mac, FreeBSD, Solaris(x86), Windows, Android, IOS
Stars: ✭ 2,113 (+8352%)
Mutual labels:  redis-client
Egg Redis
redis plugin for egg
Stars: ✭ 234 (+836%)
Mutual labels:  redis-client
Redis
Type-safe Redis client for Golang
Stars: ✭ 13,117 (+52368%)
Mutual labels:  redis-client
MythRedisClient
🏎️使用JavaFx做的Redis客户端,资源消耗略大 200-300m,想复用核心代码做成web端,然后浏览器操作,开发起来和跑起来也快
Stars: ✭ 26 (+4%)
Mutual labels:  redis-client
Redis Client App
A redis client application on mac, windows and linux.
Stars: ✭ 140 (+460%)
Mutual labels:  redis-client
Cachingframework.redis
Distributed caching based on StackExchange.Redis and Redis. Includes support for tagging and is cluster-compatible.
Stars: ✭ 209 (+736%)
Mutual labels:  redis-client
racket-redis
Fast, idiomatic Redis bidings for Racket.
Stars: ✭ 30 (+20%)
Mutual labels:  redis-client
aedis
An async redis client designed for performance and scalability
Stars: ✭ 118 (+372%)
Mutual labels:  redis-client
Collectd
The system statistics collection daemon. Please send Pull Requests here!
Stars: ✭ 2,700 (+10700%)
Mutual labels:  redis-client

redis-rs

ci latest version doc

Redis client for Rust.

  • Pure Rust, and doesn't depend on any 3rd party libraries

Cargo.toml

[dependencies.redisclient]
version = "*"

src/main.rs

extern crate redisclient;

use redisclient::RedisResult;
use redisclient::RedisClient;

fn main() {
    if let Err(e) = run() {
        println!("Error -> {}", e);
    }
}

fn run() -> RedisResult<()> {
    let mut client = RedisClient::new()?;
    client.mset(vec![("key1", 1), ("key2", 2)])?;

    let values: Vec<String> = client.mget(vec!["key1", "key2"])?;
    println!("values -> {:?}", values);

    let values: Vec<isize> = client.mget(vec!["key1", "key2"])?;
    println!("values -> {:?}", values);

    Ok(())
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].