Put tracy dependency behind feature tracy (#44277)

It broke CI, now it no longer does 🎉 Proper fix followes after the
weekend.

Release Notes:

- N/A
This commit is contained in:
David Kleingeld
2025-12-06 14:08:01 +02:00
committed by GitHub
parent 0565992d7a
commit d72746773f
4 changed files with 8 additions and 3 deletions
+3
View File
@@ -10,6 +10,9 @@ authors = ["Zed Team <hi@zed.dev>"]
[lints]
workspace = true
[features]
tracy = ["ztracing/tracy"]
[[bin]]
name = "zed"
path = "src/zed-main.rs"
+4 -1
View File
@@ -8,10 +8,13 @@ license = "GPL-3.0-or-later"
[lints]
workspace = true
[features]
tracy = ["tracing-tracy"]
[dependencies]
tracing.workspace = true
tracing-subscriber = "0.3.22"
tracing-tracy = { workspace = true, features = ["enable", "ondemand"] }
tracing-tracy = { version = "0.11.4", optional = true, features = ["enable", "ondemand"] }
ztracing_macro.workspace = true