mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
Add tracy profiling under a feature
This commit is contained in:
@@ -10,9 +10,11 @@ edition = "2021"
|
||||
anyhow = { version = "1.0.72", features = ["backtrace"] }
|
||||
bitflags = "2.3.3"
|
||||
clap = { version = "4.3.21", features = ["derive"] }
|
||||
profiling = "1.0.9"
|
||||
smithay-drm-extras = { version = "0.1.0", path = "../smithay/smithay-drm-extras" }
|
||||
tracing = "0.1.37"
|
||||
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
||||
tracy-client = { version = "0.15.2", default-features = false }
|
||||
|
||||
[dependencies.smithay]
|
||||
git = "https://github.com/Smithay/smithay"
|
||||
@@ -31,3 +33,7 @@ features = [
|
||||
"use_system_lib",
|
||||
"wayland_frontend",
|
||||
]
|
||||
|
||||
[features]
|
||||
profile-with-tracy = ["profiling/profile-with-tracy", "tracy-client/default"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user