ardaku / stick

Rust library for platform-agnostic asynchronous gamepad, joystick, and flightstick interaction
https://crates.io/crates/stick
Apache License 2.0
76 stars 14 forks source link

Update pasts requirement from 0.6 to 0.7 #24

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

⚠️ Dependabot Preview has been deactivated ⚠️

This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to dependabot commands nor will it be automatically closed if a new version is found.

If you close this pull request, Dependabot will re-create it the next time it checks for updates and everything will work as expected.


Updates the requirements on pasts to permit the latest version.

Changelog

Sourced from pasts's changelog.

[0.7.2] - 2020-12-29

Fixed

  • Links in README

[0.7.1] - 2020-12-29

Fixed

  • Category slug.

[0.7.0] - 2020-12-29

Added

  • block_on() function to execute a future on a thread.

Changed

  • Renamed poll!() to race!()
  • Separated non-array functionality of poll!() into new macro: `wait!().
  • join!() no longer requires the futures to be pinned, as it can pin them itself.
  • exec!() macro can no longer start multiple threads, but you can use it on multiple threads simultaneously. exec!() no longer takes a future, but an asynchronous expression that gets run in an infinite loop.

Removed

  • prelude module.
  • task!() macro.
  • Task type.

[0.6.0] - 2020-11-22

Added

  • Task type alias: Pin<&'a mut (dyn Future<Output = T> + Unpin)>
  • task!() macro to create a Task from an async block or function.
  • exec!() macro to execute futures from synchronous code, supporting parallelization when the std feature is enabled, and not on WASM.
  • poll!() macro to create a future that returns ready when the first of a list of futures returns ready.
  • join!() macro to concurrently push multiple futures to completion.

Removed

  • DynFuture and DynFut as they were unsound; you may now use the task!() macro for the same effect.
  • spawn() as it was also unsound due to the fact it made executors that did not have a 'static lifetime nor did reference counting; you may now use the exec!() macro instead.
  • JoinHandle - though there are no replacements for this API, you can use exec!() to create a thread pool with num_cpus to execute tasks.
  • Join trait - use join!() macro, which can take any number of arguments rather than being limited to six.
  • Select trait - use poll!() macro, which automatically changes your futures into Tasks. It was renamed to poll!() because it works differently than select!() seen elsewhere in the async ecosystem.
  • SelectBoxed - no longer needed, poll!() works on Boxes
Commits


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.


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) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
AldaronLau commented 3 years ago

has been updated

dependabot-preview[bot] commented 3 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.