refactor(telemetry): make bunyan as a feature

This commit is contained in:
2025-09-23 09:02:00 +03:00
parent fe0b153caa
commit e21e73f0b4
3 changed files with 25 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ edition = "2024"
async-trait = "0.1"
color-eyre = "0.6"
dotenv = "0.15"
futures = "0.3.31"
futures = "0.3"
infer = "0.19"
rand = "0.9"
regex = "1.11"
@@ -26,11 +26,13 @@ tokio = { version = "1", features = [
] }
tracing = "0.1"
tracing-appender = "0.2"
tracing-bunyan-formatter = { version = "0.3", default-features = false }
tracing-log = "0.2.0"
tracing-bunyan-formatter = { version = "0.3", default-features = false, optional = true }
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] }
url = "2.5"
[features]
bunyan = ["tracing-bunyan-formatter"]
[lints.clippy]
pedantic = "warn"
nursery = "warn"