Skip to content

Commit 4329574

Browse files
authored
Update Cargo.toml
1 parent 1e6e6f1 commit 4329574

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ categories = ["command-line-utilities", "network-programming", "security"]
1212
homepage = "https://github.com/mdabir1203/ShadowMap"
1313

1414
[dependencies]
15+
16+
# hotpath - profiler
17+
18+
hotpath = { version = "0.5", optional = true }
1519
# Async runtime
1620
tokio = { version = "1.40", features = ["full"] }
1721

@@ -83,6 +87,12 @@ default = []
8387
gui = ["iced"]
8488
dashboard = ["slint"]
8589

90+
hotpath = ["dep:hotpath", "hotpath/hotpath"]
91+
hotpath-alloc-bytes-total = ["hotpath/hotpath-alloc-bytes-total"]
92+
hotpath-alloc-count-total = ["hotpath/hotpath-alloc-count-total"]
93+
hotpath-alloc-self = ["hotpath/hotpath-alloc-self"]
94+
hotpath-off = ["hotpath/hotpath-off"]
95+
8696
[profile.release]
8797
opt-level = 3
8898
lto = true

0 commit comments

Comments
 (0)