diff --git a/src/common/mem-prof/Cargo.toml b/src/common/mem-prof/Cargo.toml index 8c2134fa44..5db752ed21 100644 --- a/src/common/mem-prof/Cargo.toml +++ b/src/common/mem-prof/Cargo.toml @@ -8,6 +8,7 @@ license.workspace = true workspace = true [dependencies] +anyhow = "1" common-error.workspace = true common-macro.workspace = true snafu.workspace = true @@ -21,7 +22,6 @@ jemalloc-pprof-utils = { version = "0.7", package = "pprof_util", features = [ "symbolize", ] } # for parsing jemalloc prof dump jemalloc-pprof-mappings = { version = "0.7", package = "mappings" } # for get the name of functions in the prof dump -anyhow = "1" [target.'cfg(not(windows))'.dependencies.tikv-jemalloc-sys] features = ["stats", "profiling", "unprefixed_malloc_on_supported_platforms"]