# 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 = "otlp-exporter" version = "0.1.0" description = "OTLP Exporter for the OpenTelemetry Collector" homepage = "https://github.com/fortime/otlp-exporter/tree/main" readme = "README.md" keywords = [ "opentelemetry", "otlp", "exporter", ] categories = [ "development-tools::debugging", "development-tools::profiling", "asynchronous", ] license-file = "LICENSE" repository = "https://github.com/fortime/otlp-exporter/tree/main" [dependencies.futures] version = "0.3.28" features = ["std"] default-features = false [dependencies.grpcio] version = "0.12.1" optional = true default-features = false [dependencies.http] version = "0.2.9" [dependencies.opentelemetry-proto] version = "0.3.0" [dependencies.opentelemetry_api] version = "0.20.0" default-features = false [dependencies.opentelemetry_sdk] version = "0.20.0" default-features = false [dependencies.prost] version = "0.11.9" features = ["std"] optional = true default-features = false [dependencies.protobuf] version = "2.28.0" optional = true [dependencies.reqwest] version = "0.11.18" features = ["async-compression"] optional = true default-features = false [dependencies.thiserror] version = "1.0.41" [dependencies.tonic] version = "0.9.2" features = [ "channel", "transport", ] optional = true default-features = false [dev-dependencies.opentelemetry-semantic-conventions] version = "0.12.0" [dev-dependencies.opentelemetry_sdk] version = "0.20.0" features = ["rt-tokio"] default-features = false [dev-dependencies.temp-env] version = "0.3.4" [dev-dependencies.tokio] version = "1.29.1" features = [ "rt-multi-thread", "macros", ] default-features = false [features] grpc = [] grpcio = [ "dep:grpcio", "opentelemetry-proto/gen-protoc", "protobuf", "grpc", ] grpcio-tls = [ "grpcio", "grpcio/openssl", "tls", ] grpcio-tls-vendored = [ "grpcio", "grpcio/openssl-vendored", "tls", ] http = [ "opentelemetry-proto/gen-tonic", "prost", "reqwest", ] http-json = ["http"] http-json-native-tls = [ "http-json", "tls", "reqwest/native-tls", ] http-json-native-tls-vendored = [ "http-json", "tls", "reqwest/native-tls-vendored", ] http-json-rustls-tls = [ "http-json", "tls", "reqwest/rustls-tls", ] http-json-rustls-tls-native-roots = [ "http-json", "tls", "reqwest/rustls-tls-native-roots", ] http-json-rustls-tls-webpki-roots = [ "http-json", "tls", "reqwest/rustls-tls-webpki-roots", ] http-native-tls = [ "http", "tls", "reqwest/native-tls", ] http-native-tls-vendored = [ "http", "tls", "reqwest/native-tls-vendored", ] http-rustls-tls = [ "http", "tls", "reqwest/rustls-tls", ] http-rustls-tls-native-roots = [ "http", "tls", "reqwest/rustls-tls-native-roots", ] http-rustls-tls-webpki-roots = [ "http", "tls", "reqwest/rustls-tls-webpki-roots", ] logs = ["opentelemetry-proto/logs"] metrics = [ "opentelemetry_api/metrics", "opentelemetry_sdk/metrics", "opentelemetry-proto/metrics", ] tls = [] tonic = [ "dep:tonic", "opentelemetry-proto/gen-tonic", "grpc", ] tonic-tls = [ "tonic/tls", "tls", ] traces = [ "opentelemetry_api/trace", "opentelemetry_sdk/trace", "opentelemetry-proto/traces", ]