redis-module 0.16.0

A toolkit for building Redis modules in Rust
Documentation
1
2
3
4
5
6
7
8
9
#include "redismodule.h"

// RedisModule_Init is defined as a static function and so won't be exported as
// a symbol. Export a version under a slightly different name so that we can
// get access to it from Rust.

int Export_RedisModule_Init(RedisModuleCtx *ctx, const char *name, int ver, int apiver) {
    return RedisModule_Init(ctx, name, ver, apiver);
}