From b95f3d85a8177327573f7796ab21daae01a1c729 Mon Sep 17 00:00:00 2001 From: monosans Date: Fri, 22 May 2026 16:58:11 +0300 Subject: [PATCH] update mimalloc --- Cargo.lock | 8 +-- Cargo.toml | 150 +++++++++++++++++++++++++++++++++++------------------ 2 files changed, 103 insertions(+), 55 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 822e50c..b1e2b2a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1355,9 +1355,9 @@ checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66" [[package]] name = "libmimalloc-sys" -version = "0.1.48" +version = "0.1.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2892ae4ea6fa2cb7acb0e236a6880d39523239cd9089de71d220910ccc806790" +checksum = "6a45a52f43e1c16f667ccfe4dd8c85b7f7c204fd5e3bf46c5b0db9a5c3c0b8e9" dependencies = [ "cc", ] @@ -1459,9 +1459,9 @@ dependencies = [ [[package]] name = "mimalloc" -version = "0.1.51" +version = "0.1.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebca48a43116bc25f18a61360f1be98412f50cc218f5e52c823086b999a4a21a" +checksum = "2d4139bb28d14ad1facf21d5eb8825051b326e172d216b39f6d31df53cc97862" dependencies = [ "libmimalloc-sys", ] diff --git a/Cargo.toml b/Cargo.toml index 85b94c0..5e2e302 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,81 +9,129 @@ publish = false async-trait = "=0.1.89" color-eyre = "=0.6.5" compact_str = { version = "=0.9.0", features = ["serde"] } -crossterm = { version = "=0.29.0", default-features = false, features = [ - "event-stream", - "windows", -], optional = true } +crossterm = { + version = "=0.29.0", + default-features = false, + features = [ + "event-stream", + "windows", + ], + optional = true +} dhat = { version = "=0.3.3", optional = true } dirs = "=6.0.0" fancy-regex = "=0.18.0" foldhash = "=0.2.0" -futures = { version = "=0.3.32", default-features = false, features = [ - "std", -], optional = true } +futures = { + version = "=0.3.32", + default-features = false, + features = [ + "std", + ], + optional = true +} hickory-resolver = "=0.26.1" http = "=1.4.0" httpdate = "=1.0.3" ipnet = "=2.12.0" itoa = "=1.0.18" -log = { version = "=0.4.29", features = [ - "max_level_debug", - "release_max_level_debug", - "std", -] } +log = { + version = "=0.4.29", + features = [ + "max_level_debug", + "release_max_level_debug", + "std", + ] +} maxminddb = { version = "=0.28.1", features = ["mmap"] } -mimalloc = { version = "=0.1.51", features = ["override"], optional = true } +mimalloc = { version = "=0.1.52", features = ["override"], optional = true } parking_lot = "=0.12.5" -rand = { version = "=0.10.1", default-features = false, features = [ - "std", - "thread_rng", -] } -ratatui = { version = "=0.30.0", default-features = false, features = [ - "crossterm", - "layout-cache", -], optional = true } +rand = { + version = "=0.10.1", + default-features = false, + features = [ + "std", + "thread_rng", + ] +} +ratatui = { + version = "=0.30.0", + default-features = false, + features = [ + "crossterm", + "layout-cache", + ], + optional = true +} reqwest = { version = "=0.13.3", features = ["brotli", "gzip", "socks"] } reqwest-middleware = "=0.5.2" rlimit = "=0.11.0" -rustls = { version = "=0.23.40", default-features = false, features = [ - "aws_lc_rs", - "prefer-post-quantum", - "std", - "tls12", -] } +rustls = { + version = "=0.23.40", + default-features = false, + features = [ + "aws_lc_rs", + "prefer-post-quantum", + "std", + "tls12", + ] +} rustls-platform-verifier = "=0.7.0" serde = "=1.0.228" serde_json = "=1.0.149" -smallvec = { version = "=1.15.1", features = [ - "const_generics", - "union", -], optional = true } +smallvec = { + version = "=1.15.1", + features = [ + "const_generics", + "union", + ], + optional = true +} strum = { version = "=0.28.0", features = ["derive"], optional = true } -tikv-jemallocator = { version = "=0.6.1", features = [ - "override_allocator_on_supported_platforms", -], optional = true } +tikv-jemallocator = { + version = "=0.6.1", + features = [ + "override_allocator_on_supported_platforms", + ], + optional = true +} tokio = { version = "=1.52.3", features = ["fs", "parking_lot", "signal"] } tokio-util = "=0.7.18" -toml = { version = "=1.1.2", default-features = false, features = [ - "parse", - "serde", - "std", -] } -tracing = { version = "=0.1.44", default-features = false, features = [ - "max_level_debug", - "release_max_level_debug", - "std", -] } +toml = { + version = "=1.1.2", + default-features = false, + features = [ + "parse", + "serde", + "std", + ] +} +tracing = { + version = "=0.1.44", + default-features = false, + features = [ + "max_level_debug", + "release_max_level_debug", + "std", + ] +} tracing-subscriber = { version = "=0.3.23", features = ["parking_lot"] } -tui-logger = { version = "=0.18.2", features = [ - "tracing-support", -], optional = true } +tui-logger = { + version = "=0.18.2", + features = [ + "tracing-support", + ], + optional = true +} url = "=2.5.8" [target.'cfg(all(any(target_arch = "aarch64", target_arch = "x86_64"), any(all(target_os = "linux", any(target_env = "musl", target_env = "gnu")), target_os = "macos", all(target_os = "windows", target_env = "msvc"))))'.dependencies] -mimalloc-auto = { package = "mimalloc", version = "=0.1.51", features = [ - "override", - "v2" -], optional = true } +mimalloc-auto = { + package = "mimalloc", + version = "=0.1.52", + features = ["no_thp", "override", "v2"], + optional = true +} [features] default = ["auto-allocator"]