Skip to content

Commit

Permalink
build: Disable tracing logs in release binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
arbimo committed May 24, 2023
1 parent 408ee21 commit 693214f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ members = [
[workspace.dependencies]
anyhow = { version = "1.0"}
clap = {version = "4.0", features = ["derive"]}
tracing = "0.1"
tracing = { version = "0.1", features = ["release_max_level_debug"] }
tracing-subscriber = "0.3"

[profile.dev]
Expand All @@ -31,7 +31,7 @@ lto = "thin"
opt-level = 3
panic = "abort"

# A profile meant for usage in CI, provide reasonable build/execution times. ALso enables debug assertions.
# A profile meant for usage in CI, provide reasonable build/execution times. Also enables debug assertions and symbols.
[profile.ci]
inherits = "dev"
opt-level = 3

0 comments on commit 693214f

Please sign in to comment.