Update to tonic 0.8 (#1700)

This commit is contained in:
tottoto
2023-01-20 10:34:44 +01:00
committed by GitHub
parent 8c081c20ab
commit b07918b213
3 changed files with 7 additions and 4 deletions
+4
View File
@@ -20,6 +20,10 @@ jobs:
- examples
steps:
- uses: actions/checkout@master
- uses: arduino/setup-protoc@v1
if: matrix.pwd == 'examples'
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: beta
+3 -3
View File
@@ -8,12 +8,12 @@ publish = false
axum = { path = "../../axum" }
futures = "0.3"
hyper = { version = "0.14", features = ["full"] }
prost = "0.10"
prost = "0.11"
tokio = { version = "1", features = ["full"] }
tonic = { version = "0.7" }
tonic = { version = "0.8" }
tower = { version = "0.4", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[build-dependencies]
tonic-build = { version = "0.7", features = ["prost"] }
tonic-build = { version = "0.8", features = ["prost"] }
-1
View File
@@ -17,7 +17,6 @@ use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
mod multiplex_service;
mod proto {
#![allow(clippy::derive_partial_eq_without_eq)]
tonic::include_proto!("helloworld");
}