[package]
edition = "2024"
rust-version = "1.98.1"
name = "miden-node-tracing"
version = "0.16.0"
authors = ["Miden contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Miden node tracing conventions and OpenTelemetry integration"
homepage = "https://miden.xyz"
readme = "README.md"
keywords = [
"miden",
"node",
"tracing",
]
license = "MIT"
repository = "https://github.com/0xMiden/node"
resolver = "2"
[package.metadata.cargo-shear]
ignored-paths = ["tests/ui/tracing_macros/*.rs"]
[features]
testing = ["opentelemetry_sdk/testing"]
[lib]
name = "miden_node_tracing"
path = "src/lib.rs"
doctest = false
[[test]]
name = "tracing_macros"
path = "tests/tracing_macros.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.bytes]
version = "1.10"
[dependencies.http]
version = "1.3"
[dependencies.http-body-util]
version = "0.1"
[dependencies.miden-node-tracing-macro]
version = "0.16.0"
[dependencies.miden-protocol]
version = "0.16.1"
default-features = false
[dependencies.opentelemetry]
version = "0.31"
[dependencies.opentelemetry-otlp]
version = "0.31"
features = [
"grpc-tonic",
"tls-roots",
"trace",
]
default-features = false
[dependencies.opentelemetry_sdk]
version = "0.31"
features = ["rt-tokio"]
[dependencies.tokio]
version = "1.46"
features = ["rt"]
default-features = false
[dependencies.tonic]
version = "0.14"
default-features = true
[dependencies.tower-http]
version = "0.6"
features = [
"cors",
"trace",
"catch-panic",
]
[dependencies.tower_governor]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-forest]
version = "0.3"
features = ["chrono"]
optional = true
[dependencies.tracing-opentelemetry]
version = "0.32"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
"json",
]
[dev-dependencies.thiserror]
version = "2.0"
default-features = false
[dev-dependencies.trybuild]
version = "1.0"
[lints.clippy]
allow_attributes = "deny"
cast_possible_truncation = "allow"
collapsible-if = "allow"
ignored_unit_patterns = "allow"
large_types_passed_by_value = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_for_each = "allow"
should_panic_without_expect = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1