Commit Graph

1651 Commits (79c2345e0f02a9e6da36dcab39ffac44112a9344)
 

Author SHA1 Message Date
Friedel Ziegelmayer b24fe10b11
Merge pull request #957 from Keruspe/write
io: export write::*
4 years ago
Jeremiah Senkpiel 4049f13264
Merge pull request #974 from themaxdavitt/patch-1
Fix typo in Tasks book page
4 years ago
Max Davitt a410082a7f
Fix typo in Tasks book page 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
Florian Gilcher 2d2722878c
Merge pull request #968 from erickt/opt
Change Incoming impls to only do one allocation
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
Yoshua Wuyts d395607761
Merge pull request #951 from mglagla/try-current
add task::try_current
4 years ago
Martin Glagla 7fecd0d710 add task::try_current 4 years ago
nasa 4d9499c277
Merge pull request #945 from bugadani/patch-1
Docs: fix link to io
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
Yoshua Wuyts a4fb173352
Merge pull request #944 from jackinloadup/patch-1
Fix typo in DoubleEndedStream docs
4 years ago
Lucas Riutzel e11a7ecf36
Fix typo in DoubleEndedStream docs 4 years ago
Friedel Ziegelmayer af66efe540
Merge pull request #941 from theo3/fix-tcp-vecio
Fix vectored IO for TcpStream
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
Yoshua Wuyts 6278fdc724
Merge pull request #937 from sunfishcode/main
Implement Clone for File.
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
Yoshua Wuyts b210ee3628 bump Cargo.toml to 1.9.0 4 years ago
Yoshua Wuyts 171e4f914b
Merge pull request #936 from async-rs/1.9.0
Add 1.9.0 release notes
4 years ago
Yoshua Wuyts 8fcb24339a Add 1.9.0 release notes 4 years ago
Yoshua Wuyts b854b67d3d
Merge pull request #934 from Keruspe/channels
stabilize new channels
4 years ago
Marc-Antoine Perennou 8274995e70 stabilize new channels
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
Friedel Ziegelmayer b1b8355c16
Merge pull request #933 from async-rs/remove-old-channel
remove deprecated sync::channel
4 years ago
dignifiedquire 8c5238743b remove deprecated sync::channel 4 years ago
Jesús Rubio 684ab185fe
docs: update cargo-edit link in the installation section
The project `cargo-add` has been deprecated in favor of `cargo-edit`: https://github.com/withoutboats/cargo-add
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
Friedel Ziegelmayer 1184a7f97f
Merge pull request #923 from Keruspe/rand 4 years ago
Friedel Ziegelmayer 38f85828f0
Merge pull request #930 from micaelbergeron/patch-1
Fix a typo for [sic] FuturesExt trait
4 years ago
Micaël Bergeron 7eaf577b78
Fix a typo for [sic] FuturesExt trait
The trait that is being referred to here is called `futures::future::FutureExt`.
4 years ago
Yoshua Wuyts 81cc56762a
Merge pull request #927 from taiki-e/compare_and_swap
Replace deprecated compare_and_swap with compare_exchange
4 years ago
Taiki Endo ffd46f75ca Replace deprecated compare_and_swap with compare_exchange 4 years ago
Yoshua Wuyts 5484f5b6c8
Merge pull request #926 from surechen/master
edit a small typo for stream. for issue #860
4 years ago
surechen 47b22fff56 edit Small typo for Stream 4 years ago
Marc-Antoine Perennou dbbf311344 try to fix wasm
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
Marc-Antoine Perennou 8823c460fc rand: update to 0.8
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
Wesley Merkel 01949b505b Fix link in typo in src/task/mod.rs 4 years ago
Yoshua Wuyts fde2f58610
Merge pull request #917 from async-rs/v1.8.0
v1.8.0
4 years ago
Yoshua Wuyts c738d73bd7 v1.8.0
Update CHANGELOG.md
4 years ago
Yoshua Wuyts 2757969f5d
Merge pull request #918 from async-rs/restore-prior-process-exports
Restore sync process exports
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
Yoshua Wuyts 6ae69c94d2
Merge pull request #915 from async-rs/feat-new-channels
feat: new channels
4 years ago
dignifiedquire 151025fa38 fixup 4 years ago
dignifiedquire 7b896c0bf4 manual reexports 4 years ago