From 370fa43b5a4a782324678e34ef6de8cb96a941b0 Mon Sep 17 00:00:00 2001 From: Jade Ellis Date: Mon, 23 Nov 2026 20:05:38 +0000 Subject: [PATCH] chore: Reshuffle allocator features --- src/core/Cargo.toml | 8 ++++---- src/main/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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",