# 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 = "tremor-otelapis" version = "0.5.0" authors = ["The Tremor Team"] build = "build.rs" exclude = ["*.sh"] autobins = false autoexamples = false autotests = false autobenches = false description = "OpenTelemetry v1 API binding based on tonic/prost." documentation = "https://github.com/tremor-rs/otelapis" readme = "README.md" keywords = [ "opentelemetry", "api", "grpc", "protobuf", "tremor", ] categories = ["api-bindings"] license = "Apache-2.0" repository = "https://github.com/tremor-rs/tremor-otelapis" [package.metadata.docs.rs] all-features = true [lib] name = "tremor_otelapis" path = "src/lib.rs" doctest = false [dependencies.prost] version = "0.13" features = [ "std", "derive", ] default-features = false [dependencies.tokio] version = "1.40.0" features = ["sync"] optional = true default-features = false [dependencies.tonic] version = "0.12" features = [ "transport", "codegen", "prost", ] default-features = false [build-dependencies.tonic-build] version = "0.12" [features] channels = ["dep:tokio"] default = [ "otel-all", "gzip", "zstd", "tls", ] gzip = ["tonic/gzip"] opentelemetry-proto-collector-logs-v1 = [] opentelemetry-proto-collector-metrics-v1 = [] opentelemetry-proto-collector-trace-v1 = [] opentelemetry-proto-common-v1 = [] opentelemetry-proto-logs-v1 = [] opentelemetry-proto-metrics-v1 = [] opentelemetry-proto-resource-v1 = [] opentelemetry-proto-trace-v1 = [] otel-all = [ "otel-logs", "otel-metrics", "otel-trace", "opentelemetry-proto-resource-v1", "opentelemetry-proto-common-v1", "opentelemetry-proto-logs-v1", "opentelemetry-proto-collector-logs-v1", "opentelemetry-proto-metrics-v1", "opentelemetry-proto-trace-v1", "opentelemetry-proto-collector-metrics-v1", "opentelemetry-proto-collector-trace-v1", ] otel-gen = [ "opentelemetry-proto-resource-v1", "opentelemetry-proto-common-v1", "opentelemetry-proto-logs-v1", "opentelemetry-proto-collector-logs-v1", "opentelemetry-proto-metrics-v1", "opentelemetry-proto-trace-v1", "opentelemetry-proto-collector-metrics-v1", "opentelemetry-proto-collector-trace-v1", ] otel-logs = [ "opentelemetry-proto-resource-v1", "opentelemetry-proto-common-v1", "opentelemetry-proto-logs-v1", "opentelemetry-proto-collector-logs-v1", ] otel-metrics = [ "opentelemetry-proto-resource-v1", "opentelemetry-proto-common-v1", "opentelemetry-proto-metrics-v1", "opentelemetry-proto-collector-metrics-v1", ] otel-trace = [ "opentelemetry-proto-resource-v1", "opentelemetry-proto-common-v1", "opentelemetry-proto-trace-v1", "opentelemetry-proto-collector-trace-v1", ] tls = [ "tonic/tls", "tonic/tls-webpki-roots", ] zstd = ["tonic/zstd"]