# 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" rust-version = "1.71.1" name = "opentelemetry-otlp" version = "0.27.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Exporter for the OpenTelemetry Collector" homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-otlp" readme = "README.md" keywords = [ "opentelemetry", "otlp", "logging", "tracing", "metrics", ] categories = [ "development-tools::debugging", "development-tools::profiling", "asynchronous", ] license = "Apache-2.0" repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-otlp" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "opentelemetry_otlp" path = "src/lib.rs" [[test]] name = "smoke" path = "tests/smoke.rs" required-features = ["integration-testing"] [dependencies.async-trait] version = "0.1" [dependencies.futures-core] version = "0.3" [dependencies.http] version = "1.1" features = ["std"] optional = true default-features = false [dependencies.opentelemetry] version = "0.27" default-features = false [dependencies.opentelemetry-http] version = "0.27" optional = true [dependencies.opentelemetry-proto] version = "0.27" default-features = false [dependencies.opentelemetry_sdk] version = "0.27" default-features = false [dependencies.prost] version = "0.13" optional = true [dependencies.reqwest] version = "0.12" optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true default-features = false [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1" default-features = false [dependencies.tokio] version = "1" features = [ "sync", "rt", ] optional = true default-features = false [dependencies.tonic] version = "0.12.3" optional = true default-features = false [dependencies.tracing] version = "0.1" optional = true default-features = false [dev-dependencies.futures-util] version = "0.3" default-features = false [dev-dependencies.temp-env] version = "0.3.6" [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ] default-features = false [dev-dependencies.tokio-stream] version = "0.1" features = ["net"] [features] default = [ "grpc-tonic", "trace", "metrics", "logs", "internal-logs", ] grpc-tonic = [ "tonic", "prost", "http", "tokio", "opentelemetry-proto/gen-tonic", ] gzip-tonic = ["tonic/gzip"] http-json = [ "serde_json", "prost", "opentelemetry-http", "opentelemetry-proto/gen-tonic-messages", "opentelemetry-proto/with-serde", "http", "trace", "metrics", ] http-proto = [ "prost", "opentelemetry-http", "opentelemetry-proto/gen-tonic-messages", "http", "trace", "metrics", ] hyper-client = ["opentelemetry-http/hyper"] integration-testing = [ "tonic", "prost", "tokio/full", "trace", ] internal-logs = ["tracing"] logs = [ "opentelemetry/logs", "opentelemetry_sdk/logs", "opentelemetry-proto/logs", ] metrics = [ "opentelemetry/metrics", "opentelemetry_sdk/metrics", "opentelemetry-proto/metrics", ] populate-logs-event-name = ["opentelemetry-proto/populate-logs-event-name"] reqwest-blocking-client = [ "reqwest/blocking", "opentelemetry-http/reqwest", ] reqwest-client = [ "reqwest", "opentelemetry-http/reqwest", ] reqwest-rustls = [ "reqwest", "opentelemetry-http/reqwest-rustls", ] reqwest-rustls-webpki-roots = [ "reqwest", "opentelemetry-http/reqwest-rustls-webpki-roots", ] serialize = [ "serde", "serde_json", ] tls = ["tonic/tls"] tls-roots = [ "tls", "tonic/tls-roots", ] tls-webpki-roots = [ "tls", "tonic/tls-webpki-roots", ] trace = [ "opentelemetry/trace", "opentelemetry_sdk/trace", "opentelemetry-proto/trace", ] zstd-tonic = ["tonic/zstd"]