Skip to content

Commit 39a6fce

Browse files
committed
build(example): protoc still needed to build (but no longer to use)
1 parent bfed50e commit 39a6fce

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.mise.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ ASDF_RUST_PROFILE = "minimal"
1010
rust = '1.80.0'
1111
just = '1'
1212
grpcurl = '1.9'
13+
protoc = '24'
1314
# grpc-health-probe = "*"
1415
# sccache = "0.5"
1516
binstall = "1.10"

examples/grpc/Cargo.toml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ init-tracing-opentelemetry = { path = "../../init-tracing-opentelemetry", featur
1313
opentelemetry = { workspace = true }
1414
prost = "0.13"
1515
tokio = { workspace = true, features = ["full"] }
16-
tonic = { version = "0.12", features = [
17-
"transport",
18-
"channel",
19-
"codegen",
20-
], default-features = false }
16+
tonic = "0.12"
2117
tonic-health = "0.12"
2218
tonic-reflection = "0.12"
2319
tonic-tracing-opentelemetry = { path = "../../tonic-tracing-opentelemetry" }
@@ -26,11 +22,7 @@ tracing = { workspace = true }
2622
tracing-opentelemetry-instrumentation-sdk = "0.15" # { path = "../../tracing-opentelemetry-instrumentation-sdk" }
2723

2824
[build-dependencies]
29-
tonic-build = { version = "0.12", default-features = false, features = [
30-
"transport",
31-
"prost",
32-
] }
33-
25+
tonic-build = "0.12"
3426

3527
[[bin]]
3628
name = "server"

0 commit comments

Comments
 (0)