Commit Graph

59 Commits (8947d8e03c4c267fdd3828e07368cefc7d39b002)

Author SHA1 Message Date
Kian-Meng Ang fc69db1703 Fix typos 3 years ago
Josh Triplett 1785b90e6f CHANGELOG.md: Fix typo 3 years ago
Josh Triplett df53df2b53 CHANGELOG.md: Changelog for 1.12.0 3 years ago
Josh Triplett 27ed889c67 CHANGELOG.md: Fix typo 3 years ago
Josh Triplett ca8305064b Switch branch name to `main`
Update all references.
3 years ago
Josh Triplett 07ba24cd87 Stabilize `std::task::spawn_blocking`
Given how widely used spawn_blocking is within async-std itself, and how
useful it is for building other APIs, I think it makes sense to offer it
just as we do `spawn`, even though it isn't standard in Rust itself.
3 years ago
cuishuang ab112d5db6 fix some typos
Signed-off-by: cuishuang <imcusg@gmail.com>
3 years ago
Marc-Antoine Perennou 1b8c7dc481 prepare 1.11.0
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3 years ago
Jeremiah Senkpiel 194c1eda21 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.
3 years ago
Yoshua Wuyts 8fcb24339a Add 1.9.0 release notes 4 years ago
Marc-Antoine Perennou 8274995e70 stabilize new channels
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
dignifiedquire 8c5238743b remove deprecated sync::channel 4 years ago
Marc-Antoine Perennou ac19c660c5
Update async-global-executor and add tokio feature for tokio 1.0
Co-authored-by: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
4 years ago
Yoshua Wuyts c738d73bd7 v1.8.0
Update CHANGELOG.md
4 years ago
Andrew Silver 738fd46618
Updated docs to correct version + mention tokio03 feature flag, updated CHANGELOG.md to add diff for 1.6.5...1.7.0 4 years ago
Yoshua Wuyts ca84dbdd40 v1.7.0 4 years ago
dignifiedquire 0d50906a80 chore: release v1.6.5 4 years ago
Friedel Ziegelmayer 55fb871ab8
chore: release v1.6.4
Co-authored-by: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
4 years ago
Yuxuan Shui b0ac73cb57
os/unix/stream: stop into_raw_fd from closing the fd
`UnixStream::into_raw_fd` calls `as_raw_fd`, which doesn't take the
ownership of the file descriptor, so the file descriptor is closed when
`self` is dropped upon returning from the function.

Because `UnixStream` uses a `Arc` to support Clone, there could be an
arbitrary number of instances around. We cannot take ownership of the
descriptor from all of the instances. Therefore we have no choice but to
duplicate the file descriptor and return that.

Fixes #855

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
4 years ago
dignifiedquire dbc98faf1f docs: fix changelog link 4 years ago
dignifiedquire a1e83c182e chore: release 1.6.3 4 years ago
dignifiedquire e495ba46b3 chore: release v1.6.2 5 years ago
dignifiedquire e9c6ea873c chore: release v1.6.1 5 years ago
dignifiedquire e1c8638173 chore: release v1.6.0 5 years ago
dignifiedquire c9ecb5bbbd prepare v1.6.0-beta.2 5 years ago
Azriel Hoh e9621af345 Updates `CHANGELOG.md`. 5 years ago
dignifiedquire 247c94ca06 docs(changelog): add missing link 5 years ago
dignifiedquire bd6a7e200b prepare v1.6.0-beta.1 5 years ago
Yoshua Wuyts 39f2c6da78
V1.5.0 (#694)
* Update CHANGELOG.md

* v1.5.0

* Update CHANGELOG.md
5 years ago
Yoshua Wuyts 3fd6d8b02e
1.4.0
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 055c64e8a7
1.3.0
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina bf9ee88815 Fix a typo 5 years ago
Stjepan Glavina 4ed15d67c9 Fix links in the changelog 5 years ago
Stjepan Glavina 0165d7f6d1 Add missing items to the changelog 5 years ago
Yoshua Wuyts dba416608a 1.2.0 (#589)
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 3780ff7b44
1.1.0
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>

changelog

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 9d7b2d6696
fix changelog
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts b5b2b5a0a3
1.0.1
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 4aa9928ece
v1.0.0
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts eea7af24db
fix bugs in changelog
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts fd088fea38 0.99.12 (#469)
* 0.99.12

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>

* Update changelog with latest changes
5 years ago
Yoshua Wuyts 2adaaa9d3f
more updates
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts b10930207c
more
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts b3d1fa9c98
v0.99.11
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 802d4dfc3b
finalize changelog
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 2bd82ac249
updates
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 4911f4599b
init changelog
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts a7daae6f9c
prepare v0.99.9
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 000c98bf88
update changelog
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Florian Gilcher b2df0d37fb
Release 0.99.8 5 years ago