You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(deps): address hyper deprecations in policy controller
NB: this branch is based upon #13492. see #8733 for more information
about migrating to hyper 1.0.
this enables the `backports` and `deprecated` feature flags in the hyper
dependencies in this project, and addresses warnings. see
<https://hyper.rs/guides/1/upgrading/> for more information about these
feature flags.
largely, the control plane is unaffected by this upgrade, besides the
following changes:
* one usage of a deprecated `hyper::body::aggregate` function is
updated.
* a `hyper::rt::Executor<E>` implementation, which spawns tasks onto the
tokio runtime, is provided. once we upgrade to hyper 1.0, we can
replace this with the executor provided in
[`hyper-util`](https://docs.rs/hyper-util/latest/hyper_util/rt/tokio/struct.TokioExecutor.html#impl-Executor%3CFut%3E-for-TokioExecutor).
* the `hyper::service::Service<hyper::Request<tonic::body::BoxBody>>`
implementation for `GrpcHttp` now boxes its returned future, on
account of `SendRequest` returning an anonymous
`impl Future<Output = ...>`.
* the `policy-test` additionally depends on the `runtime` feature of
hyper. this is an artifact of an internal config structure shared by
the legacy connection builder and the backported connection builder
containing two keep-alive fields that were feature gated prior to 1.0.
Signed-off-by: katelyn martin <[email protected]>
0 commit comments