Cargo Features
[dependencies]
valkey-module = { version = "0.1.3", default-features = false, features = ["min-redis-compatibility-version-7-2", "min-redis-compatibility-version-7-0", "min-redis-compatibility-version-6-0", "enable-system-alloc"] }
- default = min-redis-compatibility-version-7-0
-
The
min-redis-compatibility-version-7-0
feature is set by default whenevervalkey-module
is added without
somewhere in the dependency tree.default-features = false - min-valkey-compatibility-version-8-0 min-redis-compatibility-version-7-2
-
Affects
context::BlockingCallOptions
,commands::register_commands
… - min-redis-compatibility-version-7-0 default
-
Affects
commands::register_commands
… - min-redis-compatibility-version-6-2 min-redis-compatibility-version-6-0
-
Affects
commands::register_commands
… - enable-system-alloc
-
this is used to enable System.alloc instead of ValkeyAlloc for tests