@@ -3,17 +3,20 @@ name = "rust-librocksdb-sys"
3
3
version = " 0.16.0+8.10.0"
4
4
edition = " 2021"
5
5
rust-version = " 1.75.0"
6
- authors = [
" Karl Hobley <[email protected] >" ,
" Arkadiy Paronyan <[email protected] >" ]
6
+ authors = [
7
+ " Karl Hobley <[email protected] >" ,
8
+ " Arkadiy Paronyan <[email protected] >" ,
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/zaidoon1/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" ]
17
20
jemalloc = [" tikv-jemalloc-sys" ]
18
21
static = [" libz-sys?/static" , " bzip2-sys?/static" ]
19
22
io-uring = [" pkg-config" ]
@@ -26,7 +29,9 @@ rtti = []
26
29
27
30
[dependencies ]
28
31
libc = " 0.2"
29
- tikv-jemalloc-sys = { version = " 0.5" , features = [" unprefixed_malloc_on_supported_platforms" ], optional = true }
32
+ tikv-jemalloc-sys = { version = " 0.5" , features = [
33
+ " unprefixed_malloc_on_supported_platforms" ,
34
+ ], optional = true }
30
35
lz4-sys = { version = " 1.9" , optional = true }
31
36
zstd-sys = { version = " 2.0" , features = [" zdict_builder" ], optional = true }
32
37
libz-sys = { version = " 1.1" , default-features = false , optional = true }
@@ -41,3 +46,6 @@ cc = { version = "1.0", features = ["parallel"] }
41
46
bindgen = { version = " 0.69" , default-features = false , features = [" runtime" ] }
42
47
glob = " 0.3"
43
48
pkg-config = { version = " 0.3" , optional = true }
49
+
50
+ [profile .release ]
51
+ lto = " fat"
0 commit comments