The Rust API for Redis Modules API 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.MUL 31 11
.