Skip to content

Commit b433872

Browse files
committed
fix panic on
1 parent d16c61c commit b433872

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ readme = "README.md"
1212
name = "hello_redisearch"
1313
crate-type = ["cdylib"]
1414

15+
1516
[dependencies]
1617
redis-module = { version="0.9.0", features = ["experimental-api"]}
1718
bitflags = "1.1"
@@ -24,3 +25,8 @@ num-traits = "0.2.8"
2425
bindgen = "0.51"
2526
cmake = "0.1"
2627

28+
[features]
29+
# Workaround to allow cfg(feature = "test") in redismodue-rs dependencies:
30+
# https://github.com/RedisLabsModules/redismodule-rs/pull/68
31+
# This requires running the tests with `--features test`
32+
test = ["redis-module/test"]

0 commit comments

Comments
 (0)