nlopes / actix-web-prom

Actix-web middleware to expose Prometheus metrics
MIT License
92 stars 56 forks source link

Update futures requirement from 0.1 to 0.3 #9

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Updates the requirements on futures to permit the latest version.

Release notes *Sourced from [futures's releases](https://github.com/rust-lang-nursery/futures-rs/releases).* > ## 0.3.0 > * Stable release along with stable async/await! > * Added async/await to default features ([#1953](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1953)) > * Changed `Spawn` trait and `FuturesUnordered::push` to take `&self` ([#1950](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1950)) > * Moved `Spawn` and `FutureObj` out of `futures-core` and into `futures-task ([#1925](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1925)) > * Changed case convention for feature names ([#1937](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1937)) > * Added `executor` feature ([#1949](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1949)) > * Moved `copy_into`/`copy_buf_into` ([#1948](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1948)) > * Changed `SinkExt::send_all` to accept a `TryStream` ([#1946](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1946)) > * Removed `ThreadPool::run` ([#1944](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1944)) > * Changed to use our own definition of `io::Cursor` ([#1943](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1943)) > * Removed `BufReader::poll_seek_relative` ([#1938](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1938)) > * Changed `skip` to take a `usize` rather than `u64` ([#1931](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1931)) > * Removed `Stream` impl for `VecDeque` ([#1930](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1930)) > * Renamed `Peekable::peek` to `poll_peek` ([#1928](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1928)) > * Added immutable iterators for `FuturesUnordered` ([#1922](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1922)) > * Made `ThreadPool` optional ([#1910](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1910)) > * Renamed `oneshot::Sender::poll_cancel` to `poll_canceled` ([#1908](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1908)) > * Added some missing `Clone` implementations > * Documentation fixes
Changelog *Sourced from [futures's changelog](https://github.com/rust-lang-nursery/futures-rs/blob/master/CHANGELOG.md).* > # 0.3.0 - 2019-11-5 > * Stable release along with stable async/await! > * Added async/await to default features ([#1953](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1953)) > * Changed `Spawn` trait and `FuturesUnordered::push` to take `&self` ([#1950](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1950)) > * Moved `Spawn` and `FutureObj` out of `futures-core` and into `futures-task ([#1925](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1925)) > * Changed case convention for feature names ([#1937](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1937)) > * Added `executor` feature ([#1949](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1949)) > * Moved `copy_into`/`copy_buf_into` ([#1948](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1948)) > * Changed `SinkExt::send_all` to accept a `TryStream` ([#1946](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1946)) > * Removed `ThreadPool::run` ([#1944](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1944)) > * Changed to use our own definition of `io::Cursor` ([#1943](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1943)) > * Removed `BufReader::poll_seek_relative` ([#1938](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1938)) > * Changed `skip` to take a `usize` rather than `u64` ([#1931](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1931)) > * Removed `Stream` impl for `VecDeque` ([#1930](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1930)) > * Renamed `Peekable::peek` to `poll_peek` ([#1928](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1928)) > * Added immutable iterators for `FuturesUnordered` ([#1922](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1922)) > * Made `ThreadPool` optional ([#1910](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1910)) > * Renamed `oneshot::Sender::poll_cancel` to `poll_canceled` ([#1908](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1908)) > * Added some missing `Clone` implementations > * Documentation fixes > > # 0.3.0-alpha.19 - 2019-9-25 > * Stabilized the `async-await` feature ([#1816](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1816)) > * Made `async-await` feature no longer require `std` feature ([#1815](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1815)) > * Updated `proc-macro2`, `syn`, and `quote` to 1.0 ([#1798](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1798)) > * Exposed unstable `BiLock` ([#1827](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1827)) > * Renamed "nightly" feature to "unstable" ([#1823](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1823)) > * Moved to our own `io::{Empty, Repeat, Sink}` ([#1829](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1829)) > * Made `AsyncRead::initializer` API unstable ([#1845](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1845)) > * Moved the `Never` type from `futures-core` to `futures-util` ([#1836](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1836)) > * Fixed use-after-free on panic in `ArcWake::wake_by_ref` ([#1797](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1797)) > * Added `AsyncReadExt::chain` ([#1810](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1810)) > * Added `Stream::size_hint` ([#1853](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1853)) > * Added some missing `FusedFuture` ([#1868](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1868)) and `FusedStream` implementations ([#1831](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1831)) > * Added a `From` impl for `Mutex` ([#1839](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1839)) > * Added `Mutex::{get_mut, into_inner}` ([#1839](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1839)) > * Re-exported `TryConcat` and `TryFilter` ([#1814](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1814)) > * Lifted `Unpin` bound and implemented `AsyncBufRead` for `io::Take` ([#1821](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1821)) > * Lifted `Unpin` bounds on `get_pin_mut` ([#1820](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1820)) > * Changed `SendAll` to flush the `Sink` when the source `Stream` is pending ([#1877](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1877)) > * Set default threadpool size to one if `num_cpus::get()` returns zero ([#1835](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1835)) > * Removed dependency on `rand` by using our own PRNG ([#1837](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1837)) > * Removed `futures-core` dependency from `futures-sink` ([#1832](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1832)) > > # 0.3.0-alpha.18 - 2019-8-9 > * Rewrote `join!` and `try_join!` as procedural macros to allow passing expressions ([#1783](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1783)) > * Banned manual implementation of `TryFuture` and `TryStream` for forward compatibility. See [#1776](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1776) for more details. ([#1777](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1777)) > * Changed `AsyncReadExt::read_to_end` to return the total number of bytes read ([#1721](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1721)) > * Changed `ArcWake::into_waker` to a free function `waker` ([#1676](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1676)) > * Supported trailing commas in macros ([#1733](https://github-redirect.dependabot.com/rust-lang-nursery/futures-rs/issues/1733)) > ... (truncated)
Commits - [`0c7fa20`](https://github.com/rust-lang-nursery/futures-rs/commit/0c7fa20ae07b59af4c04487817f33a830561b7e9) Stage 0.3.0 release - [`133f9ce`](https://github.com/rust-lang-nursery/futures-rs/commit/133f9ce555e6bbda8c171018c65dcaa76f5cc27f) Change stream bounds of send_all - [`4fef913`](https://github.com/rust-lang-nursery/futures-rs/commit/4fef913048cc083f824a5cc4d22d2beb435bb936) Add async/await to default features - [`47f3ccb`](https://github.com/rust-lang-nursery/futures-rs/commit/47f3ccb0f7243a02a2258d5cf0942e892f3ac858) Make `Spawn::spawn` take `&self` rather than `&mut self` - [`07518c5`](https://github.com/rust-lang-nursery/futures-rs/commit/07518c5088e437b54d46f1b9b03881c63b64fa11) Revert "Move AtomicWaker from futures-core to futures-task" - [`90145b2`](https://github.com/rust-lang-nursery/futures-rs/commit/90145b270205ace0c1cd96f0a0349c9c323caff8) Fix intra_doc_link_resolution_failure warnings - [`0015d2a`](https://github.com/rust-lang-nursery/futures-rs/commit/0015d2ae10f99ee191e3e3be23ef43971ad12efa) Fix doc tests - [`5f878ee`](https://github.com/rust-lang-nursery/futures-rs/commit/5f878ee40b7a3194b68965b0ad368df17a861826) Fix no-std build - [`cc31f31`](https://github.com/rust-lang-nursery/futures-rs/commit/cc31f316f1655201c1e9c000c95a191886554c02) Move FutureObj from futures-core to futures-task - [`6323794`](https://github.com/rust-lang-nursery/futures-rs/commit/6323794bfe77742818282c7aaafe087c180056c3) Move other task utils from futures-core to futures-task - Additional commits viewable in [compare view](https://github.com/rust-lang-nursery/futures-rs/compare/futures-cpupool-0.1.1...0.3.0)


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

Looks like futures is up-to-date now, so this is no longer needed.