perf: do not compile traces in release mode (#2652)

This commit is contained in:
Georgios Konstantopoulos
2023-05-15 17:06:10 -07:00
committed by GitHub
parent 5dfbc9cf01
commit ae2b0954c6
28 changed files with 33 additions and 27 deletions

View File

@ -52,7 +52,7 @@ secp256k1 = { version = "0.27.0", features = [
] }
# tracing
tracing = "0.1"
tracing = { workspace = true }
# io
fdlimit = "0.2.1"
@ -94,3 +94,6 @@ backon = "0.4"
hex = "0.4"
thiserror = "1.0"
pretty_assertions = "1.3.0"
[features]
only-info-logs = ["tracing/release_max_level_info"]