# 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 = "2018" name = "opinionated_telemetry" version = "0.2.0" authors = ["Eric Kidd "] description = "Opinionated configuration for tracing and metrics crates (with OpenTelemetry & Prometheus)." homepage = "https://github.com/dbcrossbar/dbcrossbar/tree/main/crates/opinionated_telemetry" documentation = "https://docs.rs/opinionated_telemetry/" readme = "README.md" keywords = [ "opentelemetry", "prometheus", "tracing", "metrics", ] categories = [ "development-tools::debugging", "development-tools::profiling", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/dbcrossbar/dbcrossbar" [dependencies.futures] version = "0.3" [dependencies.hyper] version = "0.14.27" features = [ "client", "server", "tcp", "http1", "http2", ] default-features = false [dependencies.metrics] version = "0.21.1" [dependencies.metrics-util] version = "0.15.1" [dependencies.once_cell] version = "1.18.0" [dependencies.opentelemetry] version = "0.20.0" [dependencies.opentelemetry-stackdriver] version = "0.17.0" [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["sync"] default-features = false [dependencies.tracing] version = "0.1.29" [dependencies.tracing-log] version = "0.1.2" [dependencies.tracing-opentelemetry] version = "0.21.0" [dependencies.tracing-subscriber] version = "0.3.3" features = ["env-filter"] [dev-dependencies.anyhow] version = "1.0.52" [dev-dependencies.tokio] version = "1" features = [ "io-util", "macros", "net", "process", "rt-multi-thread", ] default-features = false [features] default = [] sync = ["tokio/rt"]