The Rust API for Redis is based on the https://github.com/brandur/redis-cell project.
- install rust and cargo
- install redis (mac)
- run
cargo build --example hello
- start a redis server with the hello module
- Linux:
redis-server --loadmodule ./target/debug/examples/libhello.so
- Mac:
redis-server --loadmodule ./target/debug/examples/libhello.dylib
- Linux:
- open a redis cli. and run
HELLO.ADD 31 11
.