[[test]]
name = "smoke"
path = "tests/smoke.rs"
required-features = ["integration-testing"]
[dependencies.async-trait]
version = "0.1"
[dependencies.futures-core]
version = "0.3"
[dependencies.grpcio]
optional = true
version = "0.12"
[dependencies.http]
optional = true
version = "0.2"
[dependencies.opentelemetry-http]
optional = true
version = "0.9"
[dependencies.opentelemetry-proto]
default-features = false
version = "0.3"
[dependencies.opentelemetry-semantic-conventions]
version = "0.12"
[dependencies.opentelemetry_api]
default-features = false
version = "0.20"
[dependencies.opentelemetry_sdk]
default-features = false
version = "0.20"
[dependencies.prost]
optional = true
version = "0.11.0"
[dependencies.protobuf]
optional = true
version = "2.18"
[dependencies.reqwest]
default-features = false
optional = true
version = "0.11"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.surf]
default-features = false
optional = true
version = "2.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
features = ["sync", "rt"]
optional = true
version = "1.0"
[dependencies.tonic]
optional = true
version = "0.9.0"
[dev-dependencies.futures]
default-features = false
features = ["std"]
version = "0.3"
[dev-dependencies.time]
features = ["macros"]
version = "0.3"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1.0"
[dev-dependencies.tokio-stream]
features = ["net"]
version = "0.1"
[features]
default = ["grpc-tonic", "trace"]
grpc-sys = ["grpcio", "opentelemetry-proto/gen-protoc", "protobuf"]
grpc-tonic = ["tonic", "prost", "http", "tokio", "opentelemetry-proto/gen-tonic"]
gzip-tonic = ["tonic/gzip"]
http-proto = ["prost", "opentelemetry-http", "opentelemetry-proto/gen-tonic-messages", "http", "trace", "metrics"]
integration-testing = ["tonic", "prost", "tokio/full", "trace"]
logs = ["opentelemetry_api/logs", "opentelemetry_sdk/logs", "opentelemetry-proto/logs"]
metrics = ["opentelemetry_api/metrics", "opentelemetry_sdk/metrics", "opentelemetry-proto/metrics", "grpc-tonic"]
openssl = ["grpcio/openssl"]
openssl-vendored = ["grpcio/openssl-vendored"]
reqwest-blocking-client = ["reqwest/blocking", "opentelemetry-http/reqwest"]
reqwest-client = ["reqwest", "opentelemetry-http/reqwest"]
reqwest-rustls = ["reqwest", "reqwest/rustls-tls-native-roots"]
serialize = ["serde"]
surf-client = ["surf", "opentelemetry-http/surf"]
tls = ["tonic/tls"]
tls-roots = ["tls", "tonic/tls-roots"]
trace = ["opentelemetry_api/trace", "opentelemetry_sdk/trace", "opentelemetry-proto/traces"]
[lib]
doctest = false
[package]
autotests = 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"
resolver = "1"
rust-version = "1.60"
version = "0.13.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]