tower-rs / tower

async fn(Request) -> Result<Response, Error>
https://docs.rs/tower
MIT License
3.56k stars 281 forks source link

util: Fix warning #717

Closed zhao-gang closed 4 months ago

zhao-gang commented 1 year ago

Fixed following warning:

warning: use of deprecated associated function futures_util::stream::FuturesOrdered::<Fut>::push: use push_back instead --> tower/src/util/call_all/ordered.rs:171:25 171 FuturesOrdered::push(self, future) ^^^^
= note: `#[warn(deprecated)]` on by default

warning: tower (lib) generated 1 warning

LucioFranco commented 1 year ago

Seems to be a snag on ci related to msrv, once that is fixed we can merge.

wafuwafu13 commented 1 year ago

related https://github.com/tower-rs/tower/pull/735

push_back is released in v0.3.22, but CI checks v0.3.11

tobz commented 4 months ago

Closing this as it needs a bump to use futures-util 0.3.22, and it doesn't seem like I have write permission to update the existing branch.