Update to tonic 0.8 (#1700)

This commit is contained in:
tottoto 2023-01-20 18:34:44 +09:00 committed by GitHub
parent 8c081c20ab
commit b07918b213
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

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

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"] }

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");
}