Skip to content

Commit dd7c0b1

Browse files
authored
Update to tonic 0.14 (#241)
1 parent 6fec148 commit dd7c0b1

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

examples/grpc/Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ publish = false
88
async-stream = "0.3"
99
hyper = "1"
1010
hyper-util = { version = "0.1", features = ["tokio"] }
11-
prost = "0.13"
11+
prost = "0.14"
1212
tokio = "1"
13-
tonic = "0.13"
13+
tonic = "0.14"
14+
tonic-prost = "0.14"
1415
tower = "0.5"
1516
tracing = "0.1"
1617
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
1718
turmoil = { path = "../.." }
1819

1920
[build-dependencies]
20-
tonic-build = "0.13"
21-
protox = "0.8"
21+
tonic-prost-build = "0.14"
22+
protox = "0.9"

examples/grpc/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
fn main() -> std::io::Result<()> {
22
let fds = protox::compile(["helloworld.proto"], ["."]).unwrap();
3-
tonic_build::compile_fds(fds)
3+
tonic_prost_build::compile_fds(fds)
44
}

0 commit comments

Comments
 (0)