Yoshua Wuyts
beb8d240c2
Merge pull request #688 from ninj/patch-1
...
fix syntax problem for task::sleep
2020-01-25 23:40:43 +01:00
ninj
b258215952
fix syntax problem for task::sleep
2020-01-25 22:13:26 +00:00
Florian Gilcher
1ababac97f
Merge branch 'accept_loop_pattern'
2020-01-22 12:47:41 +01:00
Florian Gilcher
f9fe5c90cf
Fix some typos in accept-loop pattern chapter
2020-01-22 12:47:18 +01:00
Florian Gilcher
84fe94444b
Merge pull request #675 from k-nasa/add_timeout_example
...
Add stream::timeout example when timeout error
2020-01-21 16:02:28 +01:00
Florian Gilcher
cad2880eb8
Merge pull request #550 from sclaire-1/master
...
Edit tutorial: implementing_a_client.md
2020-01-21 15:44:44 +01:00
Taiki Endo
6b860c370a
Remove usage of unstable format_code_in_doc_comments option ( #685 )
2020-01-20 21:41:48 +01:00
Katharina Fey
81aa6d152a
Changing task::block_on to park after a single poll ( #684 )
...
This was previously discussed in #605 and others as a source of high
CPU load when sleeping tasks because of the overhead created by
retrying a future in short succession.
2020-01-20 20:40:01 +01:00
k-nasa
2221441a4c
feat: Implement Clone trait for DirEntry
2020-01-18 08:36:54 +09:00
Oleg Nosov
ed7ddacb28
Rewrote Result
s implementation using take_while
and filter_map
2020-01-17 17:19:51 +03:00
nasa
d283352a9a
update broadcastor to 1.0.0 ( #681 )
2020-01-16 13:07:11 -05:00
Oleg Nosov
ed248017b4
Use internal scan
state in Result
s implementation
2020-01-15 12:06:50 +03:00
Yoshua Wuyts
0eb5ca14ac
Merge pull request #676 from k-nasa/async_task_bump_to1.2.1
...
update async-task to 1.2.1
2020-01-15 08:09:19 +01:00
Oleg Nosov
38de0bfd22
Use std::convert::identity
2020-01-15 09:43:01 +03:00
Oleg Nosov
134089af2c
Use filter_map(identity)
+ other fixes
2020-01-15 08:57:43 +03:00
k-nasa
b72dd83726
update async-task to 1.2.1
2020-01-15 11:00:03 +09:00
k-nasa
ee102dfc9e
docs: Add stream::timeout example when timeout error
2020-01-15 10:41:39 +09:00
nasa
1071e82132
Merge pull request #671 from Noah-Kennedy/udp-socket-send-doc
...
Fix docs for UdpSocket::send
2020-01-15 10:41:04 +09:00
noah
0a52864764
Revert "Fixes https://github.com/async-rs/async-std/issues/652 "
...
This reverts commit a4f68066
2020-01-14 10:59:17 -06:00
noah
76993dd755
Revert "Fixes https://github.com/async-rs/async-std/issues/652 "
...
This reverts commit a4f68066
2020-01-14 10:55:10 -06:00
Yoshua Wuyts
133e30e6f6
Merge pull request #615 from lqf96/pending-stream
...
Add an implementation of pending stream
2020-01-14 15:58:27 +01:00
nasa
76ed174fd5
Version up of dependent crate ( #672 )
2020-01-14 15:26:22 +01:00
k-nasa
f53fcbb706
test,docs: Add stream::pending example code
2020-01-14 10:18:14 +09:00
k-nasa
e9357c0307
style: Run cargo fmt
2020-01-14 09:49:34 +09:00
Qifan Lu
879e14c6ab
Remove size_hint from Stream impl
2020-01-14 09:41:43 +09:00
Qifan Lu
f8dd3d9816
Add stream::pending::{pending, Pending}
2020-01-14 09:41:43 +09:00
noah
a4f6806605
Fixes https://github.com/async-rs/async-std/issues/652
2020-01-13 17:47:51 -06:00
Yoshua Wuyts
5d5064b871
add FromStream Result example ( #643 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2020-01-13 21:42:31 +01:00
nasa
0ed0d63094
Remove unnecessary trait bound on FlatMap ( #651 )
...
* Remove unnecessary trait bound on FlatMap
* test: upgrade test code
2020-01-13 19:49:52 +01:00
Paul Colomiets
0029037883
async-listen crate: Add error_hint()
invocation
2020-01-13 08:46:32 +02:00
Oleg Nosov
fb567a3a09
Recovered comments
2020-01-12 17:53:16 +03:00
Oleg Nosov
83afbab2ef
Use take_while
instead of scan
for Option
2020-01-12 17:35:57 +03:00
Paul Colomiets
c8c075615c
book: Add Production-ready Accept Loop section
...
Part of the #658 work
2020-01-12 03:47:37 +02:00
Yoshua Wuyts
98d45f4be1
Merge pull request #647 from dignifiedquire/feat/unstable-without-default
...
feat: do not require default feature for unstable
2020-01-11 12:24:00 +01:00
dignifiedquire
9c6ab5e7c3
fix
2020-01-11 11:57:42 +01:00
dignifiedquire
9c9ab90da3
feature gate random
2020-01-11 11:49:52 +01:00
dignifiedquire
5bf3d95313
feat: do not require default feature for unstable
2020-01-11 11:44:51 +01:00
Yoshua Wuyts
1f78efec64
Merge pull request #660 from mehcode/mehcode-ecosystem
...
Showcase the ecosystem
2020-01-10 13:20:30 +01:00
Yoshua Wuyts
383057b8ea
Merge pull request #659 from alfiedotwtf/master
...
Tiny grammar fix
2020-01-07 17:09:49 +01:00
Yoshua Wuyts
763862acc7
Merge pull request #661 from async-rs/fix-ci
...
remove usage of deprecated Error method to fix CI
2020-01-07 17:09:03 +01:00
Yoshua Wuyts
e2bb79c207
Merge pull request #648 from spacekookie/master
...
Fixing inaccurate function description in udp::recv
2020-01-07 14:23:14 +01:00
Yoshua Wuyts
57a62797f2
Merge pull request #655 from u32i64/patch-1
...
Fix crate documentation typo
2020-01-07 14:22:52 +01:00
Yoshua Wuyts
dfb0c8124c
remove usage of deprecated method
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2020-01-07 14:21:17 +01:00
Ryan Leckey
d806a09599
Add a section on the async ecosystem to showcase crates that use async-std
2020-01-06 23:17:13 -08:00
Alfie John
af2d46d9b9
Tiny grammar fix
2020-01-07 13:29:30 +11:00
Artem Varaksa
65d7950df1
Fix crate documentation typo
2020-01-01 15:36:47 +03:00
nasa
6d69a3e368
Merge pull request #650 from senden9/patch-1
...
Fix typo in stream documentation
2019-12-29 14:41:56 +09:00
Stefano Probst
c3d5dba1b5
Fix typo in stream documentation
2019-12-28 17:27:37 +01:00
Katharina Fey
081166f204
Fixing inaccurate function description in udp::recv
2019-12-27 03:06:41 +01:00
Yoshua Wuyts
fee3b6f603
Merge pull request #645 from async-rs/remove-tokio-mention
...
update stream::Interval internal comments left over from migration
2019-12-24 15:05:39 +01:00