# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "prima-tracing" version = "0.13.1" authors = ["Enrico Risa "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Prima.it opentelemetry standard library" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/primait/prima_tracing.rs" [lib] name = "prima_tracing" path = "src/lib.rs" [[example]] name = "custom-json-subscriber" path = "examples/custom_json_subscriber.rs" required-features = ["json-logger"] [[example]] name = "custom-subscriber" path = "examples/custom_subscriber.rs" required-features = ["json-logger"] [[example]] name = "custom_formatter" path = "examples/custom_formatter.rs" [[example]] name = "datadog_json_logger" path = "examples/datadog_json_logger.rs" [[example]] name = "ping" path = "examples/ping.rs" [[example]] name = "pong" path = "examples/pong.rs" [[example]] name = "simple" path = "examples/simple.rs" [[test]] name = "main" path = "tests/main.rs" [dependencies.chrono] version = "^0.4" features = [ "serde", "clock", ] default-features = false [dependencies.once_cell] version = "1.19.0" [dependencies.opentelemetry] version = "0.26" optional = true [dependencies.opentelemetry-otlp] version = "0.26" features = [ "http-proto", "reqwest-client", ] optional = true default-features = false [dependencies.opentelemetry_sdk] version = "0.26" features = ["rt-tokio"] optional = true [dependencies.serde] version = "^1.0" features = ["derive"] [dependencies.serde_json] version = "^1.0" [dependencies.tracing] version = "0.1" features = [ "max_level_debug", "release_max_level_info", ] [dependencies.tracing-log] version = "0.2" [dependencies.tracing-opentelemetry] version = "0.27" optional = true [dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [dependencies.url] version = "2.5.0" [dev-dependencies.actix-web] version = "4.0.1" [dev-dependencies.opentelemetry-jaeger] version = "0.22" features = ["integration_test"] [dev-dependencies.prima_bridge] version = "0.17" [dev-dependencies.tokio] version = "1.17" features = [ "rt", "macros", "rt-multi-thread", ] [dev-dependencies.tracing-actix-web] version = "0.7.11" features = ["opentelemetry_0_23"] [dev-dependencies.uuid] version = "1.10" features = ["v4"] [features] datadog = [ "json-logger", "opentelemetry", "tracing-opentelemetry", ] default = [] dev = ["traces"] json-logger = [] live = [ "json-logger", "datadog", "traces", ] prima-logger-datadog = ["datadog"] prima-logger-json = ["json-logger"] prima-telemetry = ["traces"] rt-tokio-current-thread = ["opentelemetry_sdk/rt-tokio-current-thread"] traces = [ "tracing-opentelemetry", "opentelemetry", "opentelemetry_sdk", "opentelemetry-otlp", ]