Replace jemalloc

master
Ivan Kalinin 3 years ago
parent e6407ed405
commit 30a5f2208d
  1. 2
      Cargo.toml
  2. 4
      librocksdb-sys/Cargo.toml

@ -36,4 +36,4 @@ trybuild = "1.0"
tempfile = "3.1"
pretty_assertions = "0.7"
bincode = "1.3"
serde = { version = "1", features = [ "derive" ] }
serde = { version = "1", features = [ "derive" ] }

@ -13,7 +13,7 @@ links = "rocksdb"
[features]
default = [ "static" ]
jemalloc = ["jemalloc-sys"]
jemalloc = ["tikv-jemalloc-sys"]
static = []
snappy = []
lz4 = []
@ -23,7 +23,7 @@ bzip2 = []
[dependencies]
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]
const-cstr = "0.3"

Loading…
Cancel
Save