diff --git a/Cargo.toml b/Cargo.toml index f785125d..066d56cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,6 +39,10 @@ ron = "0.6" serde = "1.0" anyhow = "1.0.31" unicode-width = "0.1" + +[target.'cfg(unix)'.dependencies] +pprof = { version = "0.3", features = ["flamegraph"], optional = true } +[target.'cfg(macos)'.dependencies] pprof = { version = "0.3", features = ["flamegraph"], optional = true } [badges]