# 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" rust-version = "1.60" name = "ts_opentelemetry_proto" version = "0.3.0-beta.1" authors = ["OpenTelemetry Authors "] autotests = false description = "A fork of the protobuf generated files and transmationes" homepage = "https://github.com/ThetaSinner/opentelemetry-rust" readme = "README.md" keywords = [ "opentelemetry", "otlp", "logging", "tracing", "metrics", ] categories = [ "development-tools::debugging", "development-tools::profiling", "asynchronous", ] license = "Apache-2.0" repository = "https://github.com/ThetaSinner/opentelemetry-rust" resolver = "1" [lib] doctest = false [[test]] name = "grpc_build" path = "tests/grpc_build.rs" [dependencies.futures] version = "0.3" features = ["std"] default-features = false [dependencies.grpcio] version = "0.12" optional = true [dependencies.prost] version = "0.11.0" optional = true [dependencies.protobuf] version = "2.18" optional = true [dependencies.serde] version = "1.0" optional = true [dependencies.tonic] version = "0.9.0" features = [ "codegen", "prost", ] optional = true default-features = false [dependencies.ts_opentelemetry_api] version = "0.20.0-beta.1" features = [ "trace", "metrics", "logs", ] default-features = false [dependencies.ts_opentelemetry_sdk] version = "0.20.0-beta.1" features = [ "trace", "metrics", "logs", ] default-features = false [dev-dependencies.prost-build] version = "0.11.1" [dev-dependencies.protobuf-codegen] version = "2.16" [dev-dependencies.protoc-grpcio] version = "3.0" [dev-dependencies.tempfile] version = "3.3.0" [dev-dependencies.tonic-build] version = "0.9.0" [features] default = [] full = [ "gen-tonic", "gen-protoc", "traces", "logs", "metrics", "zpages", "with-serde", ] gen-protoc = [ "grpcio", "protobuf", ] gen-tonic = [ "gen-tonic-messages", "tonic/transport", ] gen-tonic-messages = [ "tonic", "prost", ] logs = [] metrics = [] traces = [] with-serde = [ "protobuf/with-serde", "serde", ] zpages = ["traces"]