diff --git a/Cargo.toml b/Cargo.toml index 5ab5d97..4e32b09 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,12 +75,12 @@ tui-logger = { version = "=0.18.1", features = [ ], optional = true } url = "=2.5.8" -[target.'cfg(all(any(target_arch = "aarch64", target_arch = "x86_64"), any(target_os = "linux", target_os = "macos", target_os = "windows")))'.dependencies] -mimalloc = { version = "=0.1.48", optional = true } - [target.'cfg(all(any(target_arch = "aarch64", target_arch = "x86_64"), any(target_os = "linux", target_os = "macos")))'.dependencies] tikv-jemallocator = { version = "=0.6.1", optional = true } +[target.'cfg(all(any(target_arch = "aarch64", target_arch = "x86_64"), any(target_os = "linux", target_os = "macos", target_os = "windows")))'.dependencies] +mimalloc = { version = "=0.1.48", optional = true } + [features] dhat = ["dep:dhat"] jemalloc = ["dep:tikv-jemallocator"]