File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " redisearch_api"
3
- version = " 0.4.1 "
3
+ version = " 0.4.2 "
4
4
authors = [" Gavrie Philipson <gavrie@redislabs.com>" , " Guy Korland <guy.korland@redislabs.com>" ]
5
5
edition = " 2018"
6
6
description = " Rust RediSearch API binding"
@@ -14,15 +14,15 @@ crate-type = ["cdylib"]
14
14
15
15
16
16
[dependencies ]
17
- redis-module = { version =" 0.9.1 " , features = [" experimental-api" ]}
17
+ redis-module = { version =" 0.9.2 " , features = [" experimental-api" ]}
18
18
bitflags = " 1.1"
19
19
libc = " 0.2"
20
20
time = " 0.1"
21
21
enum-primitive-derive = " 0.1.2"
22
22
num-traits = " 0.2.8"
23
23
24
24
[build-dependencies ]
25
- bindgen = " 0.51 "
25
+ bindgen = " 0.54 "
26
26
cmake = " 0.1"
27
27
28
28
[features ]
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ fn main() {
13
13
. whitelist_var ( "(RS|RediSearch|REDISEARCH_|GC_POLICY).*" )
14
14
. whitelist_function ( "RediSearch.*" )
15
15
. blacklist_item ( "RedisModule.*" )
16
+ . blacklist_type ( "__darwin_.*" )
17
+ . size_t_is_usize ( true )
16
18
. raw_line ( "use redis_module::raw::{RedisModuleCtx, RedisModuleString};" )
17
19
. generate ( )
18
20
. expect ( "error generating RediSearch bindings" ) ;
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ impl Iterator for ResultsIterator<'_> {
172
172
// A null pointer means we have no results.
173
173
return None ;
174
174
}
175
- let mut len = 0usize ;
175
+ let mut len = 0 ;
176
176
let key = unsafe {
177
177
let raw_key =
178
178
raw:: RediSearch_ResultsIteratorNext ( self . inner , self . index . inner , & mut len)
You can’t perform that action at this time.
0 commit comments