Demonstrating client setup and client markup for Tracy Profiler in Rust using rust_tracy_client. Find more details here.
Tracy is enabled by default. To disable it, replace the line below in Cargo.toml:
tracy-client = { version = "0.12.6", default-features = false, features = ["enable"] }
with:
tracy-client = { version = "0.12.6", default-features = false }