@@ -3,19 +3,24 @@ name = "librocksdb-sys"
3
3
version = " 0.17.0+9.0.0"
4
4
edition = " 2018"
5
5
rust-version = " 1.71.1"
6
- authors = [" Karl Hobley <karlhobley10@gmail.com>" , " Arkadiy Paronyan <arkadiy@ethcore.io>" ]
6
+ authors = [
7
+ " Karl Hobley <karlhobley10@gmail.com>" ,
8
+ " Arkadiy Paronyan <arkadiy@ethcore.io>" ,
9
+ ]
7
10
license = " MIT/Apache-2.0/BSD-3-Clause"
8
11
description = " Native bindings to librocksdb"
9
12
readme = " README.md"
10
13
repository = " https://github.com/rust-rocksdb/rust-rocksdb"
11
- keywords = [ " bindings" , " ffi" , " rocksdb" ]
12
- categories = [ " api-bindings" , " database" , " external-ffi-bindings" ]
14
+ keywords = [" bindings" , " ffi" , " rocksdb" ]
15
+ categories = [" api-bindings" , " database" , " external-ffi-bindings" ]
13
16
links = " rocksdb"
14
17
15
18
[features ]
16
- default = [ " static" ]
19
+ default = [" static" , " bindgen/runtime " ]
17
20
jemalloc = [" tikv-jemalloc-sys" ]
18
21
static = [" libz-sys?/static" , " bzip2-sys?/static" ]
22
+ bindgen-runtime = [" bindgen/runtime" ]
23
+ bindgen-static = [" bindgen/static" ]
19
24
mt_static = []
20
25
io-uring = [" pkg-config" ]
21
26
snappy = []
@@ -27,7 +32,9 @@ rtti = []
27
32
28
33
[dependencies ]
29
34
libc = " 0.2"
30
- tikv-jemalloc-sys = { version = " 0.6" , features = [" unprefixed_malloc_on_supported_platforms" ], optional = true }
35
+ tikv-jemalloc-sys = { version = " 0.6" , features = [
36
+ " unprefixed_malloc_on_supported_platforms" ,
37
+ ], optional = true }
31
38
lz4-sys = { version = " 1.10" , optional = true }
32
39
zstd-sys = { version = " 2.0" , features = [" zdict_builder" ], optional = true }
33
40
libz-sys = { version = " 1.1" , default-features = false , optional = true }
@@ -38,6 +45,6 @@ uuid = { version = "1.0", features = ["v4"] }
38
45
39
46
[build-dependencies ]
40
47
cc = { version = " 1.0" , features = [" parallel" ] }
41
- bindgen = { version = " 0.69" , default-features = false , features = [ " runtime " ] }
48
+ bindgen = { version = " 0.69" , default-features = false }
42
49
glob = " 0.3"
43
50
pkg-config = { version = " 0.3" , optional = true }
0 commit comments