Files
mytheclipse/crates/mytheclipse-tracing/Cargo.toml
T
2026-08-29 13:21:38 +00:00

38 lines
1.4 KiB
TOML

[package]
name = "mytheclipse-tracing"
version = "1.12.0"
edition = "2021"
rust-version = "1.75"
license = "MIT OR Apache-2.0"
repository = "https://github.com/asepharyana/mytheclipse"
homepage = "https://github.com/asepharyana/mytheclipse"
documentation = "https://docs.rs/mytheclipse-tracing"
authors = ["asepharyana <superaseph@gmail.com>"]
description = "Pre-built tracing layers for mytheclipse applications with OTLP/Jaeger/Zipkin export support."
readme = "README.md"
keywords = ["tracing", "opentelemetry", "jaeger", "zipkin", "telemetry"]
categories = ["development-tools::debugging", "development-tools::profiling"]
[features]
default = ["env"]
# Standard formatting subscriber with optional coloring.
env = ["dep:tracing-subscriber"]
# OpenTelemetry OTLP exporter.
otel = ["dep:tracing-subscriber", "dep:opentelemetry", "dep:tracing-opentelemetry"]
# Jaeger thrift over UDP exporter.
jaeger = ["dep:tracing-subscriber", "dep:tracing-flame"]
# Zipkin exporter.
zipkin = ["dep:tracing-subscriber"]
# Full stack: otel + jaeger.
full = ["otel", "jaeger"]
[dependencies]
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "std"], optional = true }
opentelemetry = { version = "0.25", default-features = false, optional = true }
tracing-opentelemetry = { version = "0.28", optional = true }
tracing-flame = { version = "0.2", optional = true }
[dev-dependencies]
tokio = { version = "1.53", features = ["full"] }