mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-21 22:56:46 +01:00
Update to tonic 0.8 (#1700)
This commit is contained in:
parent
8c081c20ab
commit
b07918b213
3 changed files with 7 additions and 4 deletions
4
.github/workflows/CI.yml
vendored
4
.github/workflows/CI.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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"] }
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue