Commit Graph

1038 Commits (a2f5859862f289c8b10c606126e4ca8b7ef9e442)

Author SHA1 Message Date
Çağatay Yiğit Şahin 3a26fb32dc doc: update docs to fit the move of channels from the sync module
fixes #983
3 years ago
Dan Gohman 871d2220b8 Fix stdin.rs comments to say "read" instead of "write".
This just fixes a few comments that appear to have been copied and
pasted from stdout.rs.
4 years ago
Friedel Ziegelmayer b24fe10b11
Merge pull request #957 from Keruspe/write
io: export write::*
4 years ago
Yoshua Wuyts 35f7681664
Merge pull request #965 from rkarp/fix-write-fmt-future
Fix WriteFmtFuture not taking into account already written bytes (#964)
4 years ago
Erick Tryzelaar c4e181cfe1 Change Incoming impls to only do one allocation
This modifies net::tcp::Incoming and os::net::unix::Incoming to only do
one allocation, rather than an allocation for each connection.
4 years ago
Rolf Karp 5bc34cb6ba Fix WriteFmtFuture not taking into account already written bytes (#964) 4 years ago
Marc-Antoine Perennou fe310f6b1c io: export write::*
We weren't exporting WriteExt.
We already do that with read::*

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
Martin Glagla 7fecd0d710 add task::try_current 4 years ago
Dániel Buga b05fa450c7
Docs: fix link to io 4 years ago
Jeremiah Senkpiel 09f2c5fce1
Merge pull request #920 from ooesili/task-arc-docs-typo-fix
Fix link in typo in src/task/mod.rs
4 years ago
Lucas Riutzel e11a7ecf36
Fix typo in DoubleEndedStream docs 4 years ago
Theo Bogusta a46464deab Fix vectored IO for TcpStream
Implements `Write::poll_write_vectored` and `Read::poll_read_vectored`
on `TcpStream` using the vectored IO methods on the underlying stream.
Previously, the trait's default implementation was used, which just
called `poll_write` and `poll_read` once for each `IoSlice`.
4 years ago
Dan Gohman 09e99843e4 Implement Clone for File.
Implement `Clone` for `File` 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.

This also aligns with `TcpStream` which already implements `Clone` using
its internal `Arc`.
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
Koxiaet 4a3f963810
feat: use async-lock for RwLock and Barrier 4 years ago
Taiki Endo ffd46f75ca Replace deprecated compare_and_swap with compare_exchange 4 years ago
surechen 47b22fff56 edit Small typo for Stream 4 years ago
Wesley Merkel 01949b505b Fix link in typo in src/task/mod.rs 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