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