Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pasts requirement from 0.12 to 0.13 #32

Merged
merged 5 commits into from
Jan 18, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 17, 2023

Updates the requirements on pasts to permit the latest version.

Changelog

Sourced from pasts's changelog.

[0.13.0] - 2023-01-16

Added

  • Added Spawn trait for spawning both Send futures and local tasks.
  • Re-export of Spawn in the prelude.
  • Executor::block_on()
  • Defaults for T = () on both BoxNotifier and Notifier
  • std feature, enabled by default

Changed

  • prelude::Poll is now a type alias with generic default set to unit
  • Recommend using async_main crate in docs
  • core::task::Context is now re-exported as Task instead of Exec in prelude
  • Local type alias is renamed to LocalBoxNotifier
  • Task type alias is renamed to BoxNotifier
  • Executor no longer executes on Drop; must call block_on() instead

Removed

  • Sleep, use Pool and Park instead
  • no-std feature, for no-std environments disable std instead

Fixed

  • Infinite recursion in impl<N: Notifier, ..> Notifier for Box<N>

[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

... (truncated)

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)

Updates the requirements on [pasts](https://github.com/ardaku/pasts) to permit the latest version.
- [Release notes](https://github.com/ardaku/pasts/releases)
- [Changelog](https://github.com/ardaku/pasts/blob/stable/CHANGELOG.md)
- [Commits](ardaku/pasts@v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: pasts
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 17, 2023
@AldaronLau AldaronLau merged commit 5204919 into stable Jan 18, 2023
@AldaronLau AldaronLau deleted the dependabot/cargo/pasts-0.13 branch January 18, 2023 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant