fix: simplify mimalloc setup

This commit is contained in:
monosans
2025-09-30 20:44:58 +03:00
parent ed2c8e988f
commit 90ba19c8c2
+3 -6
View File
@@ -55,17 +55,14 @@ tui-logger = { version = "=0.17.4", features = [
url = "=2.5.7"
[target.'cfg(all(any(target_arch = "aarch64", target_arch = "x86_64"), any(target_os = "linux", target_os = "macos", target_os = "windows")))'.dependencies]
mimalloc_v2 = { package = "mimalloc", version = "=0.1.48", optional = true }
mimalloc_v3 = { package = "mimalloc", version = "=0.1.48", optional = true, features = [
"v3",
] }
mimalloc = { version = "=0.1.48", optional = true }
tikv-jemallocator = { version = "0.6.0", optional = true }
[features]
dhat = ["dep:dhat"]
jemalloc = ["dep:tikv-jemallocator"]
mimalloc_v2 = ["dep:mimalloc_v2"]
mimalloc_v3 = ["dep:mimalloc_v3"]
mimalloc_v2 = ["dep:mimalloc"]
mimalloc_v3 = ["dep:mimalloc", "mimalloc/v3"]
tokio-current-thread = []
tui = ["dep:crossterm", "dep:futures", "dep:ratatui", "dep:tui-logger"]