Files
jcoffey-dev 1e7e8dfd48
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 7m26s
Vendor upstream's opentelemetry-rust fork at the pinned commit
2026-10-27 22:55:35 -07:00

165 lines
3.2 KiB
TOML

# 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.75.0"
name = "opentelemetry-proto"
version = "0.33.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Protobuf generated files and transformations."
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-proto"
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/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-proto"
[features]
default = ["full"]
full = [
"gen-tonic",
"trace",
"logs",
"metrics",
"zpages",
"with-serde",
"internal-logs",
]
gen-tonic = [
"gen-tonic-messages",
"tonic",
"tonic-prost",
"tonic/channel",
]
gen-tonic-messages = ["prost"]
internal-logs = ["opentelemetry/internal-logs"]
logs = [
"opentelemetry/logs",
"opentelemetry_sdk/logs",
]
metrics = [
"opentelemetry/metrics",
"opentelemetry_sdk/metrics",
]
profiles = []
testing = ["opentelemetry/testing"]
trace = [
"opentelemetry/trace",
"opentelemetry_sdk/trace",
]
with-schemars = ["schemars"]
with-serde = [
"serde",
"const-hex",
"base64",
]
zpages = ["trace"]
[lib]
name = "opentelemetry_proto"
path = "src/lib.rs"
doctest = false
bench = false
[[test]]
name = "grpc_build"
path = "tests/grpc_build.rs"
[[test]]
name = "json_serde"
path = "tests/json_serde.rs"
[dependencies.base64]
version = "0.22.1"
optional = true
[dependencies.const-hex]
version = "1.14.1"
optional = true
[dependencies.opentelemetry]
version = "0.33"
default-features = false
[dependencies.opentelemetry_sdk]
version = "0.33"
default-features = false
[dependencies.prost]
version = "0.14"
optional = true
[dependencies.schemars]
version = "1.0"
optional = true
[dependencies.serde]
version = "1.0"
features = [
"serde_derive",
"std",
]
optional = true
default-features = false
[dependencies.tonic]
version = "0.14.1"
features = ["codegen"]
optional = true
default-features = false
[dependencies.tonic-prost]
version = "0.14.1"
optional = true
[dev-dependencies.opentelemetry]
version = "0.33"
features = ["testing"]
default-features = false
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.3.0"
[dev-dependencies.tonic-prost-build]
version = "0.14.1"
[lints.clippy.all]
level = "warn"
priority = 1
[lints.rust]
edition_2024_expr_fragment_specifier = "allow"
if_let_rescope = "allow"
tail_expr_drop_order = "allow"
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1