diff --git a/.mise.toml b/.mise.toml index 38b2c23..18eaba8 100644 --- a/.mise.toml +++ b/.mise.toml @@ -10,6 +10,7 @@ ASDF_RUST_PROFILE = "minimal" rust = '1.80.0' just = '1' grpcurl = '1.9' +protoc = '24' # grpc-health-probe = "*" # sccache = "0.5" binstall = "1.10" diff --git a/examples/grpc/Cargo.toml b/examples/grpc/Cargo.toml index b440347..95844ff 100644 --- a/examples/grpc/Cargo.toml +++ b/examples/grpc/Cargo.toml @@ -13,11 +13,7 @@ init-tracing-opentelemetry = { path = "../../init-tracing-opentelemetry", featur opentelemetry = { workspace = true } prost = "0.13" tokio = { workspace = true, features = ["full"] } -tonic = { version = "0.12", features = [ - "transport", - "channel", - "codegen", -], default-features = false } +tonic = "0.12" tonic-health = "0.12" tonic-reflection = "0.12" tonic-tracing-opentelemetry = { path = "../../tonic-tracing-opentelemetry" } @@ -26,11 +22,7 @@ tracing = { workspace = true } tracing-opentelemetry-instrumentation-sdk = "0.15" # { path = "../../tracing-opentelemetry-instrumentation-sdk" } [build-dependencies] -tonic-build = { version = "0.12", default-features = false, features = [ - "transport", - "prost", -] } - +tonic-build = "0.12" [[bin]] name = "server"