chore: bump tarpc from 0.21.0 to 0.22.0 (#11923)

* chore: bump tarpc from 0.21.0 to 0.22.0

Bumps [tarpc](https://github.com/google/tarpc) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/google/tarpc/releases)
- [Changelog](https://github.com/google/tarpc/blob/master/RELEASES.md)
- [Commits](https://github.com/google/tarpc/commits)

Signed-off-by: dependabot[bot] <support@github.com>

* Fix build

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Greg Fitzgerald <greg@solana.com>
This commit is contained in:
dependabot[bot] 2020-09-08 21:22:22 -06:00 committed by GitHub
parent c274e26eb8
commit 502e93f55b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 23 deletions

32
Cargo.lock generated
View File

@ -1257,7 +1257,7 @@ dependencies = [
"log 0.4.8",
"slab",
"tokio 0.2.22",
"tokio-util 0.3.1",
"tokio-util",
]
[[package]]
@ -4712,6 +4712,12 @@ dependencies = [
"version_check 0.9.2",
]
[[package]]
name = "static_assertions"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]]
name = "stdweb"
version = "0.4.20"
@ -4870,10 +4876,11 @@ dependencies = [
[[package]]
name = "tarpc"
version = "0.21.0"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7262a81ff505d04617aabee6f3e416eafd4d67f856832196c221ffd434efda47"
checksum = "1503e47bfae912674d6f4226c09cb8d2f0271a57eef7e799b6f98a545f89c7a3"
dependencies = [
"anyhow",
"fnv",
"futures 0.3.5",
"humantime 1.3.0",
@ -4881,10 +4888,11 @@ dependencies = [
"pin-project",
"rand 0.7.3",
"serde",
"static_assertions",
"tarpc-plugins",
"tokio 0.2.22",
"tokio-serde",
"tokio-util 0.2.0",
"tokio-util",
]
[[package]]
@ -5345,20 +5353,6 @@ dependencies = [
"tokio-reactor",
]
[[package]]
name = "tokio-util"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "571da51182ec208780505a32528fc5512a8fe1443ab960b3f2f3ef093cd16930"
dependencies = [
"bytes 0.5.4",
"futures-core",
"futures-sink",
"log 0.4.8",
"pin-project-lite",
"tokio 0.2.22",
]
[[package]]
name = "tokio-util"
version = "0.3.1"
@ -5403,7 +5397,7 @@ dependencies = [
"prost-derive",
"tokio 0.2.22",
"tokio-rustls 0.14.0",
"tokio-util 0.3.1",
"tokio-util",
"tower",
"tower-balance",
"tower-load",

View File

@ -14,7 +14,7 @@ bincode = "1.3.1"
futures = "0.3"
solana-banks-interface = { path = "../banks-interface", version = "1.4.0" }
solana-sdk = { path = "../sdk", version = "1.4.0" }
tarpc = { version = "0.21.0", features = ["full"] }
tarpc = { version = "0.22.0", features = ["full"] }
tokio = "0.2"
tokio-serde = { version = "0.6", features = ["bincode"] }

View File

@ -191,7 +191,7 @@ pub async fn start_client(
}
pub async fn start_tcp_client<T: ToSocketAddrs>(addr: T) -> io::Result<BanksClient> {
let transport = tcp::connect(addr, Bincode::default()).await?;
let transport = tcp::connect(addr, Bincode::default).await?;
BanksClient::new(client::Config::default(), transport).spawn()
}

View File

@ -11,7 +11,7 @@ edition = "2018"
[dependencies]
serde = { version = "1.0.112", features = ["derive"] }
solana-sdk = { path = "../sdk", version = "1.4.0" }
tarpc = { version = "0.21.0", features = ["full"] }
tarpc = { version = "0.22.0", features = ["full"] }
[lib]
crate-type = ["lib"]

View File

@ -16,7 +16,7 @@ solana-banks-interface = { path = "../banks-interface", version = "1.4.0" }
solana-runtime = { path = "../runtime", version = "1.4.0" }
solana-sdk = { path = "../sdk", version = "1.4.0" }
solana-metrics = { path = "../metrics", version = "1.4.0" }
tarpc = { version = "0.21.0", features = ["full"] }
tarpc = { version = "0.22.0", features = ["full"] }
tokio = "0.2"
tokio-serde = { version = "0.6", features = ["bincode"] }