chore: bump tonic-build from 0.7.1 to 0.7.2 (#25037)
* chore: bump tonic-build from 0.7.1 to 0.7.2 Bumps [tonic-build](https://github.com/hyperium/tonic) from 0.7.1 to 0.7.2. - [Release notes](https://github.com/hyperium/tonic/releases) - [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md) - [Commits](https://github.com/hyperium/tonic/compare/v0.7.1...v0.7.2) --- updated-dependencies: - dependency-name: tonic-build dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * [auto-commit] Update all Cargo lock files * Regenerate proto * Bump tonic and remove deprecated method Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com> Co-authored-by: Tyera Eulberg <tyera@solana.com>
This commit is contained in:
parent
b83fd8b958
commit
4520c25330
|
@ -5860,7 +5860,7 @@ dependencies = [
|
|||
"solana-storage-proto",
|
||||
"solana-transaction-status",
|
||||
"thiserror",
|
||||
"tonic 0.7.1",
|
||||
"tonic 0.7.2",
|
||||
"zstd",
|
||||
]
|
||||
|
||||
|
@ -5876,7 +5876,7 @@ dependencies = [
|
|||
"solana-account-decoder",
|
||||
"solana-sdk 1.11.0",
|
||||
"solana-transaction-status",
|
||||
"tonic-build 0.7.1",
|
||||
"tonic-build 0.7.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -6834,9 +6834,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "tonic"
|
||||
version = "0.7.1"
|
||||
version = "0.7.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "30fb54bf1e446f44d870d260d99957e7d11fb9d0a0f5bd1a662ad1411cc103f9"
|
||||
checksum = "5be9d60db39854b30b835107500cf0aca0b0d14d6e1c3de124217c23a29c2ddb"
|
||||
dependencies = [
|
||||
"async-stream",
|
||||
"async-trait",
|
||||
|
@ -6854,7 +6854,7 @@ dependencies = [
|
|||
"pin-project",
|
||||
"prost 0.10.3",
|
||||
"prost-derive 0.10.1",
|
||||
"rustls-pemfile 0.3.0",
|
||||
"rustls-pemfile 1.0.0",
|
||||
"tokio",
|
||||
"tokio-rustls 0.23.3",
|
||||
"tokio-stream",
|
||||
|
@ -6880,9 +6880,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "tonic-build"
|
||||
version = "0.7.1"
|
||||
version = "0.7.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c03447cdc9eaf8feffb6412dcb27baf2db11669a6c4789f29da799aabfb99547"
|
||||
checksum = "d9263bf4c9bfaae7317c1c2faf7f18491d2fe476f70c414b73bf5d445b00ffa1"
|
||||
dependencies = [
|
||||
"prettyplease",
|
||||
"proc-macro2 1.0.37",
|
||||
|
|
|
@ -3353,6 +3353,15 @@ dependencies = [
|
|||
"base64 0.13.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rustls-pemfile"
|
||||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e7522c9de787ff061458fe9a829dc790a3f5b22dc571694fc5883f448b94d9a9"
|
||||
dependencies = [
|
||||
"base64 0.13.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rustversion"
|
||||
version = "1.0.6"
|
||||
|
@ -5205,7 +5214,7 @@ dependencies = [
|
|||
"solana-storage-proto",
|
||||
"solana-transaction-status",
|
||||
"thiserror",
|
||||
"tonic 0.7.1",
|
||||
"tonic 0.7.2",
|
||||
"zstd",
|
||||
]
|
||||
|
||||
|
@ -5220,7 +5229,7 @@ dependencies = [
|
|||
"solana-account-decoder",
|
||||
"solana-sdk 1.11.0",
|
||||
"solana-transaction-status",
|
||||
"tonic-build 0.7.1",
|
||||
"tonic-build 0.7.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -6056,9 +6065,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "tonic"
|
||||
version = "0.7.1"
|
||||
version = "0.7.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "30fb54bf1e446f44d870d260d99957e7d11fb9d0a0f5bd1a662ad1411cc103f9"
|
||||
checksum = "5be9d60db39854b30b835107500cf0aca0b0d14d6e1c3de124217c23a29c2ddb"
|
||||
dependencies = [
|
||||
"async-stream",
|
||||
"async-trait",
|
||||
|
@ -6076,7 +6085,7 @@ dependencies = [
|
|||
"pin-project",
|
||||
"prost 0.10.3",
|
||||
"prost-derive 0.10.1",
|
||||
"rustls-pemfile 0.3.0",
|
||||
"rustls-pemfile 1.0.0",
|
||||
"tokio",
|
||||
"tokio-rustls 0.23.2",
|
||||
"tokio-stream",
|
||||
|
@ -6102,9 +6111,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "tonic-build"
|
||||
version = "0.7.1"
|
||||
version = "0.7.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c03447cdc9eaf8feffb6412dcb27baf2db11669a6c4789f29da799aabfb99547"
|
||||
checksum = "d9263bf4c9bfaae7317c1c2faf7f18491d2fe476f70c414b73bf5d445b00ffa1"
|
||||
dependencies = [
|
||||
"prettyplease",
|
||||
"proc-macro2 1.0.36",
|
||||
|
|
|
@ -27,7 +27,7 @@ solana-sdk = { path = "../sdk", version = "=1.11.0" }
|
|||
solana-storage-proto = { path = "../storage-proto", version = "=1.11.0" }
|
||||
solana-transaction-status = { path = "../transaction-status", version = "=1.11.0" }
|
||||
thiserror = "1.0"
|
||||
tonic = { version = "0.7.1", features = ["tls", "transport"] }
|
||||
tonic = { version = "0.7.2", features = ["tls", "transport"] }
|
||||
zstd = "0.11.1"
|
||||
|
||||
# openssl is a dependency of the goauth and smpl_jwt crates, but explicitly
|
||||
|
|
|
@ -315,9 +315,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "tonic-build"
|
||||
version = "0.7.1"
|
||||
version = "0.7.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c03447cdc9eaf8feffb6412dcb27baf2db11669a6c4789f29da799aabfb99547"
|
||||
checksum = "d9263bf4c9bfaae7317c1c2faf7f18491d2fe476f70c414b73bf5d445b00ffa1"
|
||||
dependencies = [
|
||||
"prettyplease",
|
||||
"proc-macro2",
|
||||
|
|
|
@ -915,7 +915,7 @@ pub mod bigtable_client {
|
|||
where
|
||||
T: tonic::client::GrpcService<tonic::body::BoxBody>,
|
||||
T::Error: Into<StdError>,
|
||||
T::ResponseBody: Default + Body<Data = Bytes> + Send + 'static,
|
||||
T::ResponseBody: Body<Data = Bytes> + Send + 'static,
|
||||
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
|
||||
{
|
||||
pub fn new(inner: T) -> Self {
|
||||
|
@ -928,6 +928,7 @@ pub mod bigtable_client {
|
|||
) -> BigtableClient<InterceptedService<T, F>>
|
||||
where
|
||||
F: tonic::service::Interceptor,
|
||||
T::ResponseBody: Default,
|
||||
T: tonic::codegen::Service<
|
||||
http::Request<tonic::body::BoxBody>,
|
||||
Response = http::Response<
|
||||
|
|
|
@ -8,12 +8,12 @@ use {
|
|||
},
|
||||
backoff::{future::retry, ExponentialBackoff},
|
||||
log::*,
|
||||
std::time::{Duration, Instant},
|
||||
thiserror::Error,
|
||||
tonic::{
|
||||
codegen::InterceptedService, metadata::MetadataValue, transport::ClientTlsConfig, Request,
|
||||
Status,
|
||||
std::{
|
||||
str::FromStr,
|
||||
time::{Duration, Instant},
|
||||
},
|
||||
thiserror::Error,
|
||||
tonic::{codegen::InterceptedService, transport::ClientTlsConfig, Request, Status},
|
||||
};
|
||||
|
||||
mod google {
|
||||
|
@ -197,7 +197,7 @@ impl BigTableConnection {
|
|||
self.channel.clone(),
|
||||
move |mut req: Request<()>| {
|
||||
if let Some(access_token) = &access_token {
|
||||
match MetadataValue::from_str(&access_token.get()) {
|
||||
match FromStr::from_str(&access_token.get()) {
|
||||
Ok(authorization_header) => {
|
||||
req.metadata_mut()
|
||||
.insert("authorization", authorization_header);
|
||||
|
|
|
@ -29,4 +29,4 @@ name = "solana_storage_proto"
|
|||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = "0.7.1"
|
||||
tonic-build = "0.7.2"
|
||||
|
|
Loading…
Reference in New Issue