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 Rust crate async-std to 1.12 #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 18, 2021

Mend Renovate

This PR contains the following updates:

Package Type Update Change
async-std (source) dependencies minor 1.9 -> 1.12

Release Notes

async-rs/async-std (async-std)

v1.12.0

Compare Source

Added

  • std::task::spawn_blocking is now stabilized. We consider it a fundamental API for bridging between blocking code and async code, and we widely use it within async-std's own implementation.
  • Add TryFrom implementations to convert TcpListener, TcpStream, UdpSocket, UnixDatagram, UnixListener, and UnixStream to their synchronous equivalents, including putting them back into blocking mode.

Changed

  • async-std no longer depends on num_cpus; it uses functionality in the standard library instead (via async-global-executor).
  • Miscellaneous documentation fixes and cleanups.

v1.11.0

Compare Source

This release improves compile times by up to 55% on initial builds, and up to 75% on recompilation. Additionally we've added a few new APIs and made some tweaks.

Added

  • TcpListener::into_incoming to convert a TcpListener into a stream of incoming TCP connections

Removed

  • The internal extension_trait macro had been removed. This drastically improves compile times for async-std, but changes the way our documentation is rendered. This is a cosmetic change only, and all existing code should continue to work as it did before.

Changed

  • Some internal code has been de-macro-ified, making for quicker compile times.
  • We now use the default recursion limit.

Docs

  • Several docs improvements / fixes.

v1.10.0

Compare Source

This release comes with an assortment of small features and fixes.

Added

  • File now implements Clone so that Files can be passed into closures for use in spawn_blocking.
    • File's contents are already wrapped in Arcs, so the implementation of Clone is straightforward.
  • task::try_current() which returns a handle to the current task if called within the context of a task created by async-std.
  • async_std::io now re-exports WriteExt directly.

Fixed

  • write! now takes already written bytes into account on File.

Internal

  • TcpStream now properly makes use of vectored IO.
  • The net::*::Incoming implementations now do less allocation.

Docs

  • Several docs improvements / fixes.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update Rust crate async-std to 1.10 Update Rust crate async-std to 1.11 Mar 26, 2022
@renovate renovate bot changed the title Update Rust crate async-std to 1.11 Update Rust crate async-std to 1.12 Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants