|
|
@ -13,7 +13,7 @@ links = "rocksdb" |
|
|
|
|
|
|
|
|
|
|
|
[features] |
|
|
|
[features] |
|
|
|
default = [ "static" ] |
|
|
|
default = [ "static" ] |
|
|
|
jemalloc = ["jemalloc-sys"] |
|
|
|
jemalloc = ["tikv-jemalloc-sys"] |
|
|
|
static = [] |
|
|
|
static = [] |
|
|
|
snappy = [] |
|
|
|
snappy = [] |
|
|
|
lz4 = [] |
|
|
|
lz4 = [] |
|
|
@ -23,7 +23,7 @@ bzip2 = [] |
|
|
|
|
|
|
|
|
|
|
|
[dependencies] |
|
|
|
[dependencies] |
|
|
|
libc = "0.2" |
|
|
|
libc = "0.2" |
|
|
|
jemalloc-sys = { version = "0.3", features = ["unprefixed_malloc_on_supported_platforms"], optional = true } |
|
|
|
tikv-jemalloc-sys = { version = "0.4.2+5.2.1-patched.2", features = ["unprefixed_malloc_on_supported_platforms"], optional = true } |
|
|
|
|
|
|
|
|
|
|
|
[dev-dependencies] |
|
|
|
[dev-dependencies] |
|
|
|
const-cstr = "0.3" |
|
|
|
const-cstr = "0.3" |
|
|
|