shardmap 0.3.0

Sharded embedded in-memory map with optional cache, protocol, and server internals
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::{EnabledModuleInfo, RedisModuleCommand};

pub(super) const MODULES: &[EnabledModuleInfo] = &[EnabledModuleInfo {
    name: "neural-redis",
    version: 1,
}];

pub(super) const COMMANDS: &[RedisModuleCommand] = redis_module_commands![
    "neural-redis";
    "NR.CREATE" => true, "NR.RUN" => true, "NR.OBSERVE" => true,
    "NR.TRAIN" => true, "NR.INFO" => false, "NR.DELETE" => true,
];