Commit Graph

1020 Commits (81cc56762a44ae67a352e7bb78a61b04a4cdb7f2)

Author SHA1 Message Date
Taiki Endo ffd46f75ca Replace deprecated compare_and_swap with compare_exchange 4 years ago
surechen 47b22fff56 edit Small typo for Stream 4 years ago
Yoshua Wuyts 34e9ff3cd2 Restore sync process exports 4 years ago
Yoshua Wuyts 9cd0578826
Merge pull request #916 from async-rs/async-process
feat: add process module
4 years ago
Yoshua Wuyts f8f1eacc9a Attempt 2 at fixing docs on windows 4 years ago
Yoshua Wuyts 92f5038ed6 attempt to fix docs builds 4 years ago
Yoshua Wuyts 415d0d1e51
Merge pull request #732 from hhggit/timeout_repeat
make StreamExt::timeout(d).next() behave like future::timeout(d, s.next())
4 years ago
dignifiedquire 7b896c0bf4 manual reexports 4 years ago
dignifiedquire 1f6bb8b01a feat: add process module
Reexport based on async-process
4 years ago
dignifiedquire da236ae39b more deprecation fixes 4 years ago
dignifiedquire 36366cd4d9 fix warnings 4 years ago
dignifiedquire 8c0e319e94 feat: new channels
- add new top level `channels` module (stable) based on `async-channel`
- deprecate `sync::channel`
4 years ago
hhggit 3bb121dc1e reset timer after timeout was ready 4 years ago
Taiki Endo 42c44045ad Update pin-project-lite to 0.2.0 4 years ago
Yoshua Wuyts e5191aec8a
Merge pull request #909 from Silvea12/master
Updated docs to correct version + mention tokio03 feature flag
4 years ago
Andrew Silver 7d20a4435c
Fixed updated docs to match the 80 column style the rest of the docs use 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
Taiki Endo e8dc2c0571 Fix double drop in StreamExt::cycle 4 years ago
dignifiedquire 0d50906a80 chore: release v1.6.5 4 years ago
Stjepan Glavina f7aa962daf Store a future inside Incoming 4 years ago
Marc-Antoine Perennou 3e94498741 fix tokio compatibility
Move it into async-global-executor

Fixes #881

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
Friedel Ziegelmayer 55fb871ab8
chore: release v1.6.4
Co-authored-by: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
4 years ago
Marc-Antoine Perennou 352c54bfe6
feat: move executor to async-global-executo 4 years ago
Friedel Ziegelmayer e9cb238f49
fix wasm and nostd builds
Co-authored-by: Jacob Rothstein <hi@jbr.me>
4 years ago
Friedel Ziegelmayer 6a6623cfad
Merge pull request #869 from jimblandy/buf-writer-doc-fix
Fix BufWriter documentation: BufWriters do not flush when dropped.
4 years ago
Friedel Ziegelmayer a9580a9f76
Merge pull request #872 from TaKO8Ki/fix-clippy-warnings 4 years ago
Friedel Ziegelmayer f7319591a3
Merge pull request #866 from Keruspe/smol04 4 years ago
Takayuki Maeda 04bb83f86e fix clippy warnings 4 years ago
Marc-Antoine Perennou e2f638496c don't init runtime threadpool unless necessary
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
Jim Blandy 949ff90306 Fix BufWriter documentation: BufWriters do not flush when dropped.
This was partially fixed in #586, but there's another sentence later that makes
the same claim.
4 years ago
Yoshua Wuyts bd297473cc
Merge pull request #856 from yshui/master
Fix #855
4 years ago
Yoshua Wuyts 1319def758
Merge pull request #853 from r3v2d0g/udp-peek
Add peek{,from} methods to UdpSocket
4 years ago
Marc-Antoine Perennou e4fb4b6128 update smol dependencies
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
Marc-Antoine Perennou 1898f18a5c update blocking
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.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
Matthieu Le brazidec (r3v2d0g) 47ce9a370c
Add peek{,from} methods to UdpSocket 4 years ago
Friedel Ziegelmayer 9a16081a2f
Merge pull request #845 from async-rs/1-6-3 4 years ago
Observer42 e068ab413b Fix wrong link in condvar doc 4 years ago
dignifiedquire a1e83c182e chore: release 1.6.3 4 years ago
Marc-Antoine Perennou abc2929a8e switch to async-executor
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5 years ago
Marc-Antoine Perennou 0c51283bfc switch to multitask
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5 years ago
Marc-Antoine Perennou 48693fccc3 switch to futures-lite
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5 years ago
Marc-Antoine Perennou 2fe087bd0a switch to blocking
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5 years ago
Marc-Antoine Perennou 25e0e1abdc switch to async-io
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5 years ago
Marc-Antoine Perennou 8886039ac5 fix build with -default +unstable
and add a CI check for it

Fixes #842

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5 years ago
Jonathas-Conceicao cd7fb9dec2 channel doc: Fix misleading reference to None return on Receiver
Signed-off-by: Jonathas-Conceicao <jonathas.conceicao@ossystems.com.br>
5 years ago
Yoshua Wuyts c82b1efb69
fix(stream): add send guards on collect
Closes #639 

Co-authored-by: dignifiedquire <me@dignifiedquire.com>
5 years ago
dignifiedquire 18dffe8b43 refactor: switch to async-mutex for Mutex implementation 5 years ago
Gary Guo 2e7e804736 Fix unused_mut warning in nightly 5 years ago
Friedel Ziegelmayer 17ab958ac2
Merge pull request #820 from zhaxzhax/docs-#815 5 years ago