From aa7777527b1fce0e8fb4dee8b87872ac541fb85d Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 4 Sep 2023 15:10:16 +0400 Subject: Compile-disable trace events in release --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a7518da9..bf5c308f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ logind-zbus = "3.1.2" profiling = "1.0.9" sd-notify = "0.4.1" time = { version = "0.3.28", features = ["formatting", "local-offset", "macros"] } -tracing = "0.1.37" +tracing = { version = "0.1.37", features = ["max_level_trace", "release_max_level_debug"] } tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } tracy-client = { version = "0.15.2", default-features = false } xcursor = "0.3.4" -- cgit