diff --git a/Cargo.toml b/Cargo.toml index 9c8d487..d164526 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,4 +36,4 @@ trybuild = "1.0" tempfile = "3.1" pretty_assertions = "0.7" bincode = "1.3" -serde = { version = "1", features = [ "derive" ] } \ No newline at end of file +serde = { version = "1", features = [ "derive" ] } diff --git a/librocksdb-sys/Cargo.toml b/librocksdb-sys/Cargo.toml index e4d880e..da4eb3d 100644 --- a/librocksdb-sys/Cargo.toml +++ b/librocksdb-sys/Cargo.toml @@ -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", features = ["unprefixed_malloc_on_supported_platforms"], optional = true } [dev-dependencies] const-cstr = "0.3"