async-rs/async-std
### [`v1.12.0`](https://togithub.com/async-rs/async-std/blob/HEAD/CHANGELOG.md#1120---2022-06-18)
[Compare Source](https://togithub.com/async-rs/async-std/compare/v1.11.0...v1.12.0)
#### 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`](https://togithub.com/async-rs/async-std/blob/HEAD/CHANGELOG.md#1110---2022-03-22)
[Compare Source](https://togithub.com/async-rs/async-std/compare/v1.10.0...v1.11.0)
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`](https://togithub.com/async-rs/async-std/blob/HEAD/CHANGELOG.md#1100---2021-08-25)
[Compare Source](https://togithub.com/async-rs/async-std/compare/v1.9.0...v1.10.0)
This release comes with an assortment of small features and fixes.
#### Added
- `File` now implements `Clone` so that `File`s can be passed into closures for use in `spawn_blocking`.
- `File`'s contents are already wrapped in `Arc`s, 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, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.9.0
->1.12.0
Release Notes
async-rs/async-std
### [`v1.12.0`](https://togithub.com/async-rs/async-std/blob/HEAD/CHANGELOG.md#1120---2022-06-18) [Compare Source](https://togithub.com/async-rs/async-std/compare/v1.11.0...v1.12.0) #### 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`](https://togithub.com/async-rs/async-std/blob/HEAD/CHANGELOG.md#1110---2022-03-22) [Compare Source](https://togithub.com/async-rs/async-std/compare/v1.10.0...v1.11.0) 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`](https://togithub.com/async-rs/async-std/blob/HEAD/CHANGELOG.md#1100---2021-08-25) [Compare Source](https://togithub.com/async-rs/async-std/compare/v1.9.0...v1.10.0) This release comes with an assortment of small features and fixes. #### Added - `File` now implements `Clone` so that `File`s can be passed into closures for use in `spawn_blocking`. - `File`'s contents are already wrapped in `Arc`s, 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.
This PR has been generated by Mend Renovate. View repository job log here.