Merge pull request #554 from broxus/master

Replace jemalloc
master
Stanislav Tkach 3 years ago committed by GitHub
commit eb2d302682
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Cargo.toml
  2. 4
      librocksdb-sys/Cargo.toml

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

@ -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", features = ["unprefixed_malloc_on_supported_platforms"], optional = true }
[dev-dependencies] [dev-dependencies]
const-cstr = "0.3" const-cstr = "0.3"

Loading…
Cancel
Save