Skip to content

Commit

Permalink
Use new Tonic (Axum 0.7 and hyper 1.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
akiradeveloper committed Jun 13, 2024
1 parent 7b98ec0 commit 2110723
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ async-trait = "0.1.80"
bincode = "1.3.3"
bytes = "1.6.0"
tokio = "1.38"
tonic = "0.11"
tonic-build = "0.11"
tonic = { git = "https://github.com/hyperium/tonic" }
tonic-build = { git = "https://github.com/hyperium/tonic" }
prost = "0.12"
prost-build = "0.12"
lolraft = { path = "lolraft" }
Expand Down
4 changes: 2 additions & 2 deletions lolraft/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ bytes = "1.5"
derive_more = "0.99"
flume = "0.11"
futures = "0.3"
http-serde = "1"
http-serde = "2"
log = "0.4"
moka = { version = "0.12", features = ["sync"] }
phi-detector = "0.4"
Expand All @@ -33,7 +33,7 @@ thiserror = "1"
tokio = { version = "1", features = ["rt"] }
tokio-util = "0.7"
tonic = { workspace = true }
tonic-reflection = "0.11"
tonic-reflection = { git = "https://github.com/hyperium/tonic" }

[dev-dependencies]
tokio = { version = "1", features = ["full"] }
Expand Down
2 changes: 1 addition & 1 deletion tests/testapp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ anyhow = "1"
async-trait = "0.1"
bincode = "1.3"
bytes = "1.5"
console-subscriber = "0.2"
console-subscriber = "0.3"
envy = "0.4"
env_logger = "0.10"
futures = "0.3"
Expand Down

0 comments on commit 2110723

Please sign in to comment.