Skip to content

Commit

Permalink
chore(deps): Bump the tonic group with 2 updates (vectordotdev#19837)
Browse files Browse the repository at this point in the history
* chore(deps): Bump the tonic group with 2 updates

Bumps the tonic group with 2 updates: [tonic](https://github.com/hyperium/tonic) and [tonic-build](https://github.com/hyperium/tonic).


Updates `tonic` from 0.10.2 to 0.11.0
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md)
- [Commits](hyperium/tonic@v0.10.2...v0.11.0)

Updates `tonic-build` from 0.10.2 to 0.11.0
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md)
- [Commits](hyperium/tonic@v0.10.2...v0.11.0)

---
updated-dependencies:
- dependency-name: tonic
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: tonic
- dependency-name: tonic-build
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: tonic
...

Signed-off-by: dependabot[bot] <[email protected]>

* Regenerate licenses

Signed-off-by: Jesse Szwedko <[email protected]>

* Fix breaking change

Signed-off-by: Jesse Szwedko <[email protected]>

* Convert `tonic` to a workspace dep

* Fix component validation runner

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Jesse Szwedko <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Szwedko <[email protected]>
Co-authored-by: Bruce Guenter <[email protected]>
  • Loading branch information
3 people authored Aug 27, 2024
1 parent e3d0ebf commit e90cece
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 64 deletions.
63 changes: 9 additions & 54 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ proptest-derive = { version = "0.4.0" }
serde_json = { version = "1.0.125", default-features = false, features = ["raw_value", "std"] }
serde = { version = "1.0.209", default-features = false, features = ["alloc", "derive", "rc"] }
toml = { version = "0.8.19", default-features = false, features = ["display", "parse"] }
tonic = { version = "0.11", default-features = false, features = ["transport", "codegen", "prost", "tls", "tls-roots", "gzip"] }
tonic-build = { version = "0.11", default-features = false, features = ["transport", "prost"] }
vrl = { version = "0.17.0", features = ["arbitrary", "cli", "test", "test_framework"] }

[dependencies]
Expand Down Expand Up @@ -342,7 +344,7 @@ tikv-jemallocator = { version = "0.6.0", default-features = false, features = ["
tokio-postgres = { version = "0.7.11", default-features = false, features = ["runtime", "with-chrono-0_4"], optional = true }
tokio-tungstenite = {version = "0.20.1", default-features = false, features = ["connect"], optional = true}
toml.workspace = true
tonic = { version = "0.10", optional = true, default-features = false, features = ["transport", "codegen", "prost", "tls", "tls-roots", "gzip"] }
tonic = { workspace = true, optional = true }
hickory-proto = { version = "0.24.1", default-features = false, features = ["dnssec"], optional = true }
typetag = { version = "0.2.18", default-features = false }
url = { version = "2.5.2", default-features = false, features = ["serde"] }
Expand All @@ -366,7 +368,7 @@ nix = { version = "0.26.2", default-features = false, features = ["socket", "sig

[build-dependencies]
prost-build = { version = "0.12", default-features = false, optional = true }
tonic-build = { version = "0.10", default-features = false, features = ["transport", "prost"], optional = true }
tonic-build = { workspace = true, optional = true }
# update 'openssl_version' in website/config.toml whenever <major.minor> version changes
openssl-src = { version = "300", default-features = false, features = ["force-engine", "legacy"] }

Expand Down
4 changes: 2 additions & 2 deletions lib/opentelemetry-proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish = false

[build-dependencies]
prost-build = { version = "0.12", default-features = false}
tonic-build = { version = "0.10", default-features = false, features = ["prost", "transport"] }
tonic-build.workspace = true

[dependencies]
bytes = { version = "1.7.1", default-features = false, features = ["serde"] }
Expand All @@ -16,6 +16,6 @@ hex = { version = "0.4.3", default-features = false, features = ["std"] }
lookup = { package = "vector-lookup", path = "../vector-lookup", default-features = false }
ordered-float = { version = "4.2.2", default-features = false }
prost = { version = "0.12", default-features = false, features = ["std"] }
tonic = { version = "0.10", default-features = false, features = ["codegen", "gzip", "prost", "tls", "tls-roots", "transport"] }
tonic.workspace = true
vrl.workspace = true
vector-core = { path = "../vector-core", default-features = false }
2 changes: 1 addition & 1 deletion lib/vector-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ tokio-openssl = { version = "0.6.4", default-features = false }
tokio-stream = { version = "0.1", default-features = false, features = ["time"], optional = true }
tokio-util = { version = "0.7.0", default-features = false, features = ["time"] }
toml.workspace = true
tonic = { version = "0.10", default-features = false, features = ["transport"] }
tonic.workspace = true
tracing = { version = "0.1.34", default-features = false }
tracing-core = { version = "0.1.26", default-features = false }
tracing-subscriber = { version = "0.3.18", default-features = false, features = ["std"] }
Expand Down
3 changes: 2 additions & 1 deletion src/components/validation/runner/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ use hyper::Body;
use tokio::{pin, select, sync::mpsc};
use tonic::{
body::BoxBody,
transport::{Channel, Endpoint, NamedService},
server::NamedService,
transport::{Channel, Endpoint},
Status,
};
use tower::Service;
Expand Down
5 changes: 1 addition & 4 deletions src/sources/util/grpc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ use http::{Request, Response};
use hyper::Body;
use std::{convert::Infallible, net::SocketAddr, time::Duration};
use tonic::transport::server::Routes;
use tonic::{
body::BoxBody,
transport::server::{NamedService, Server},
};
use tonic::{body::BoxBody, server::NamedService, transport::server::Server};
use tower::Service;
use tower_http::{
classify::{GrpcErrorsAsFailures, SharedClassifier},
Expand Down

0 comments on commit e90cece

Please sign in to comment.