diff --git a/Cargo.lock b/Cargo.lock index c4e90a824..24fde13fa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3213,6 +3213,7 @@ dependencies = [ "hex", "libc", "metrics-exporter-prometheus", + "parking_lot", "public-ip", "rand", "rustc_version", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index fd3a8d2c3..949f2e507 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -26,6 +26,7 @@ futures-util = { workspace = true } hex = { workspace = true } libc = { workspace = true } metrics-exporter-prometheus = { workspace = true } +parking_lot = { workspace = true } public-ip = { workspace = true } rand = { workspace = true } serde = { workspace = true } @@ -62,6 +63,7 @@ rustc_version = { workspace = true } [features] default = ["jemalloc"] jemalloc = ["dep:tikv-jemallocator"] +deadlock-detection = ["parking_lot/deadlock_detection"] [lints] workspace = true