[package]
name = "fedimint-logging"
version = { workspace = true }
authors = ["The Fedimint Developers"]
edition = "2021"
description = "contains some utilities for logging and tracing"
license = "MIT"
readme = "../README.md"
repository = "https://github.com/fedimint/fedimint"
[lib]
name = "fedimint_logging"
path = "src/lib.rs"
[features]
telemetry = [
"tracing-opentelemetry",
"opentelemetry-jaeger",
"console-subscriber",
"opentelemetry",
]
[dependencies]
anyhow = { workspace = true }
console-subscriber = { version = "0.3.0", optional = true }
opentelemetry = { version = "0.23.0", optional = true }
opentelemetry-jaeger = { version = "0.21.0", optional = true }
tracing-opentelemetry = { version = "0.23.0", optional = true }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }