Skip to content

Commit 8aebab5

Browse files
committed
Bump tonic dependency to v0.12
1 parent e1d1a5a commit 8aebab5

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = [
33
"foundations",
44
"foundations-macros",
55
"examples",
6-
"tools/gen-syscall-enum"
6+
"tools/gen-syscall-enum",
77
]
88
resolver = "2"
99

@@ -36,12 +36,13 @@ darling = "0.20.10"
3636
erased-serde = "0.3.28"
3737
futures-util = "0.3.28"
3838
governor = "0.6"
39+
http = "1"
3940
hyper = { version = "0.14", default-features = false }
4041
indexmap = "2.0.0"
4142
ipnetwork = "0.20"
4243
once_cell = "1.5"
43-
tonic = { version = "0.11.0", default-features = false }
44-
opentelemetry-proto = "0.5.0"
44+
tonic = { version = "0.12.0", default-features = false }
45+
opentelemetry-proto = "0.27.0"
4546
parking_lot = "0.12.1"
4647
proc-macro2 = { version = "1", default-features = false }
4748
prometheus = { version = "0.13.3", default-features = false }
@@ -52,7 +53,7 @@ percent-encoding = "2.3.1"
5253
quote = "1"
5354
regex = "1.8"
5455
reqwest = { version = "0.12", default-features = false }
55-
socket2 = { version = "0.5.3", features = [ "all" ] }
56+
socket2 = { version = "0.5.3", features = ["all"] }
5657
syn = "2"
5758
serde = "1"
5859
serde_path_to_error = "0.1.15"

foundations/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ tracing = [
121121
"dep:futures-util",
122122
"dep:tokio",
123123
"dep:serde",
124+
"dep:http",
124125
]
125126

126127
# Enables metrics functionality.
@@ -177,6 +178,7 @@ clap = { workspace = true, optional = true }
177178
erased-serde = { workspace = true, optional = true }
178179
futures-util = { workspace = true, optional = true }
179180
governor = { workspace = true, optional = true }
181+
http = { workspace = true, optional = true }
180182
hyper = { workspace = true, optional = true, features = [
181183
"http1",
182184
"runtime",
@@ -203,7 +205,7 @@ slog-term = { workspace = true, optional = true }
203205
socket2 = { workspace = true, optional = true }
204206
thread_local = { workspace = true, optional = true }
205207
tokio = { workspace = true, optional = true, features = ["sync", "rt"] }
206-
tonic = { workspace = true, optional = true, features = ["channel", "transport"] }
208+
tonic = { workspace = true, optional = true, features = ["channel", "prost"] }
207209
tikv-jemallocator = { workspace = true, optional = true, features = [
208210
"profiling",
209211
"stats",

foundations/src/telemetry/tracing/output_otlp_grpc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crate::{BootstrapResult, ServiceInfo};
55
use anyhow::Context as _;
66
use cf_rustracing_jaeger::span::SpanReceiver;
77
use futures_util::future::{BoxFuture, FutureExt as _};
8-
use hyper::http::uri::PathAndQuery;
8+
use http::uri::PathAndQuery;
99
use opentelemetry_proto::tonic::collector::trace::v1::{
1010
ExportTraceServiceRequest, ExportTraceServiceResponse,
1111
};

0 commit comments

Comments
 (0)