# 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 = "qrt-log-utils" version = "0.2.2" description = "qrt's log utils" keywords = [ "log", "utils", ] license = "MIT" repository = "https://github.com/qiaoruntao/qrt-log-utils" [dependencies.actix-web] version = "4" [dependencies.actix-web-opentelemetry] version = "0.15" features = [ "metrics", "metrics-prometheus", ] [dependencies.hostname] version = "0" optional = true [dependencies.once_cell] version = "1" optional = true [dependencies.opentelemetry] version = "0.20" features = [ "rt-tokio", "metrics", ] [dependencies.opentelemetry-otlp] version = "0.13" features = ["tls-roots"] optional = true [dependencies.opentelemetry-prometheus] version = "0.13" [dependencies.opentelemetry_sdk] version = "0.20" features = [ "rt-tokio", "metrics", ] optional = true [dependencies.prometheus] version = "0" [dependencies.time] version = "0" [dependencies.tokio] version = "1" [dependencies.tonic] version = "0.9" optional = true [dependencies.tracing] version = "0" [dependencies.tracing-opentelemetry] version = "0.20" optional = true [dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "time", ] [dev-dependencies.time] version = "0" [dev-dependencies.tokio] version = "1" features = ["full"] [features] default = [ "honeycomb-log", "detect-host", ] detect-host = ["dep:hostname"] honeycomb-log = [ "dep:opentelemetry_sdk", "dep:opentelemetry-otlp", "dep:tracing-opentelemetry", "dep:once_cell", "dep:tonic", ]