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.8 to 0.12 #53

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Updates the requirements on pasts to permit the latest version.

Changelog

Sourced from pasts's changelog.

[0.12.0] - 2022-07-31

Added

  • no-std feature

Changed

  • Executor::new() now takes impl Into<Arc<I>> instead of I
  • Executor::spawn() no longer requires Unpin futures
  • Sleep trait now requires Send + Sync + 'static
  • Started using core::hint::spin_loop() for default no-std executor

Removed

  • std feature - to use pasts on no-std environments use the new no-std feature instead

[0.11.0] - 2022-06-10

Added

  • Sleep trait for implementing custom executors
  • Notifier trait (like AsyncIterator, but infinite)
  • Poller struct for compatibility with futures
  • Fuse trait for turning Futures into Notifiers
  • Executor struct for custom executors
  • Loop struct for a notifier created from future producers
  • Box, Future, Pin, Exec (alias to core::task::Context), Executor, Fuse, Local, Task and Notifier to prelude.
  • Local type alias for !Send boxed Notifiers
  • Task type alias for Send boxed Notifiers

Changed

  • Loop renamed to Join
  • Join::on() now takes a closure for the notifier
  • Task got split into many different specialized types

Removed

  • poll_next_fn() in favor of new Poller type
  • block_on() - all futures must be spawned locally now (this change was made to support the same behavior on web assembly as other platforms)
  • BlockOn trait in favor of new Executor struct
  • Executor trait in favor of using new Sleep trait in combination with the Wake trait from the std library.

[0.10.0] - 2022-05-07

Added

  • More documentation
  • poll_next_fn()

Changed

  • Completely reimplemented Task so it doesn't always require allocation or Send (it should be more obvious which methods require allocation now)
  • Loop::on() accepts different types for the second parameter

... (truncated)

Commits
  • e56b8b9 v0.12.0
  • b5b5f0e Change method of "async main" used in examples
  • 4c47900 Start using core::hint::spin_loop() for default no-std executor
  • 739843c Make Sleep require Send + Sync + 'static
  • 6b99da3 Edit wording in README.md
  • 2449a40 Replace std feature with no-std feature (#22)
  • 564df5c Update README.md
  • 0175cc3 Edit link in related projects section of readme
  • 65a0d8d Add "Related Projects" section to README.md
  • 408e45c Executor::new() now takes impl Into\<Arc<I>> instead of I
  • Additional commits viewable in compare view


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[bot] commented 1 year ago

Superseded by #57.