diff --git a/src/core/Cargo.toml b/src/core/Cargo.toml index 72aae4312..9377f57b0 100644 --- a/src/core/Cargo.toml +++ b/src/core/Cargo.toml @@ -38,12 +38,12 @@ mimalloc = [ ] jemalloc_conf = [] jemalloc_prof = [ - "tikv-jemalloc-sys/profiling", + "tikv-jemalloc-sys?/profiling", ] jemalloc_stats = [ - "tikv-jemalloc-sys/stats", - "tikv-jemalloc-ctl/stats", - "tikv-jemallocator/stats", + "tikv-jemalloc-sys?/stats", + "tikv-jemalloc-ctl?/stats", + "tikv-jemallocator?/stats", ] perf_measurements = [] release_max_log_level = [ diff --git a/src/main/Cargo.toml b/src/main/Cargo.toml index 40162bd5c..651f5e86c 100644 --- a/src/main/Cargo.toml +++ b/src/main/Cargo.toml @@ -48,6 +48,7 @@ assets = [ [features] default = [ "standard", + "jemalloc", "ring", "bindgen-runtime", # replace with bindgen-static on alpine ] @@ -57,7 +58,6 @@ standard = [ "element_hacks", "gzip_compression", "io_uring", - "jemalloc", "jemalloc_conf", "journald", "media_thumbnail",