mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-16 10:49:55 +00:00
1.10.0
# [1.10.0] - 2021-08-25 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.
This commit is contained in:
parent
9c031375c8
commit
194c1eda21
1 changed files with 20 additions and 0 deletions
20
CHANGELOG.md
20
CHANGELOG.md
|
@ -11,6 +11,26 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview
|
||||||
## Removed
|
## Removed
|
||||||
## Changed
|
## Changed
|
||||||
|
|
||||||
|
# [1.10.0] - 2021-08-25
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
# [1.9.0] - 2021-01-15
|
# [1.9.0] - 2021-01-15
|
||||||
|
|
||||||
This patch stabilizes the `async_std::channel` submodule, removes the
|
This patch stabilizes the `async_std::channel` submodule, removes the
|
||||||
|
|
Loading…
Reference in a new issue