Update tonic.

This commit is contained in:
Orne Brocaar 2024-03-13 16:36:03 +00:00
parent 26cef0b2ca
commit 06bcca147c
3 changed files with 17 additions and 17 deletions

20
Cargo.lock generated
View File

@ -1916,9 +1916,9 @@ dependencies = [
[[package]]
name = "h2"
version = "0.3.22"
version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4d6250322ef6e60f93f9a2162799302cd6f68f79f6e5d85c8c16f14d1d958178"
checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9"
dependencies = [
"bytes",
"fnv",
@ -4669,9 +4669,9 @@ dependencies = [
[[package]]
name = "tonic"
version = "0.10.2"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d560933a0de61cf715926b9cac824d4c883c2c43142f787595e48280c40a1d0e"
checksum = "76c4eb7a4e9ef9d4763600161f12f5070b92a578e1b634db88a6887844c91a13"
dependencies = [
"async-stream",
"async-trait",
@ -4696,9 +4696,9 @@ dependencies = [
[[package]]
name = "tonic-build"
version = "0.10.2"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d021fc044c18582b9a2408cd0dd05b1596e3ecdb5c4df822bb0183545683889"
checksum = "be4ef6dd70a610078cb4e338a0f79d06bc759ff1b22d2120c2ff02ae264ba9c2"
dependencies = [
"prettyplease",
"proc-macro2",
@ -4709,9 +4709,9 @@ dependencies = [
[[package]]
name = "tonic-reflection"
version = "0.10.2"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3fa37c513df1339d197f4ba21d28c918b9ef1ac1768265f11ecb6b7f1cba1b76"
checksum = "548c227bd5c0fae5925812c4ec6c66ffcfced23ea370cb823f4d18f0fc1cb6a7"
dependencies = [
"prost",
"prost-types",
@ -4722,9 +4722,9 @@ dependencies = [
[[package]]
name = "tonic-web"
version = "0.10.2"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fddb2a37b247e6adcb9f239f4e5cefdcc5ed526141a416b943929f13aea2cce"
checksum = "dc3b0e1cedbf19fdfb78ef3d672cb9928e0a91a9cb4629cc0c916e8cff8aaaa1"
dependencies = [
"base64 0.21.5",
"bytes",

6
api/rust/Cargo.toml vendored
View File

@ -21,13 +21,13 @@ prost-types = "0.12"
hex = "0.4"
rand = "0.8"
tonic = { version = "0.10", features = ["codegen", "prost"], default-features = false, optional = true }
tokio = { version = "1.32", features = ["macros"], optional = true }
tonic = { version = "0.11", features = ["codegen", "prost"], default-features = false, optional = true }
tokio = { version = "1.36", features = ["macros"], optional = true }
pbjson = { version = "0.6", optional = true }
pbjson-types = { version = "0.6", optional = true }
serde = { version = "1.0", optional = true }
diesel = { version = "2.1", features = ["postgres_backend"], optional = true }
[build-dependencies]
tonic-build = { version = "0.10", features = ["prost"], default-features = false }
tonic-build = { version = "0.11", features = ["prost"], default-features = false }
pbjson-build = "0.6"

View File

@ -72,10 +72,10 @@ tokio-reactor-trait = "1.1"
rdkafka = { version = "0.36", default-features = false, features = ["tokio", "cmake-build"] }
# gRPC and Protobuf
tonic = "0.10"
tonic-web = "0.10"
tonic-reflection = "0.10"
tokio = { version = "1.35", features = ["macros", "rt-multi-thread"] }
tonic = "0.11"
tonic-web = "0.11"
tonic-reflection = "0.11"
tokio = { version = "1.36", features = ["macros", "rt-multi-thread"] }
tokio-stream = "0.1"
prost-types = "0.12"
prost = "0.12"