[dependencies.hex]
optional = true
version = "0.4.3"
[dependencies.opentelemetry]
default-features = false
version = "0.27"
[dependencies.opentelemetry_sdk]
default-features = false
version = "0.27"
[dependencies.prost]
optional = true
version = "0.13"
[dependencies.schemars]
optional = true
version = "0.8"
[dependencies.serde]
default-features = false
features = ["serde_derive"]
optional = true
version = "1.0"
[dependencies.tonic]
default-features = false
features = ["codegen", "prost"]
optional = true
version = "0.12.3"
[dev-dependencies.prost-build]
version = "0.13"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.3.0"
[dev-dependencies.tonic-build]
version = "0.12"
[features]
default = ["full"]
full = ["gen-tonic", "trace", "logs", "metrics", "zpages", "with-serde"]
gen-tonic = ["gen-tonic-messages", "tonic/transport"]
gen-tonic-messages = ["tonic", "prost"]
logs = ["opentelemetry/logs", "opentelemetry_sdk/logs"]
metrics = ["opentelemetry/metrics", "opentelemetry_sdk/metrics"]
populate-logs-event-name = []
testing = ["opentelemetry/testing"]
trace = ["opentelemetry/trace", "opentelemetry_sdk/trace"]
with-schemars = ["schemars"]
with-serde = ["serde", "hex"]
zpages = ["trace"]
[lib]
doctest = false
name = "opentelemetry_proto"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["development-tools::debugging", "development-tools::profiling", "asynchronous"]
description = "Protobuf generated files and transformations."
edition = "2021"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-proto"
keywords = ["opentelemetry", "otlp", "logging", "tracing", "metrics"]
license = "Apache-2.0"
name = "opentelemetry-proto"
readme = "README.md"
repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-proto"
rust-version = "1.71.1"
version = "0.27.0"
[[test]]
name = "grpc_build"
path = "tests/grpc_build.rs"
[[test]]
name = "json_serde"
path = "tests/json_serde.rs"