diff --git a/Cargo.toml b/Cargo.toml index 675f90e..4120628 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"]