Commit graph

1135 commits

Author SHA1 Message Date
Felipe Sere
ee2f52f3ce Add next_back 2019-12-12 20:26:38 +01:00
Felipe Sere
55194edbf7 Add try_rfold 2019-12-12 20:26:38 +01:00
Felipe Sere
c4b9a7f680 Add samples for some of the functions 2019-12-12 20:26:38 +01:00
Felipe Sere
aabfefd015 Add a sample implementation of a double ended stream 2019-12-12 20:26:38 +01:00
Felipe Sere
cc493df433 Sketch out rfold 2019-12-12 20:26:38 +01:00
Felipe Sere
78bafbb88f Sketch outch rfind 2019-12-12 20:26:38 +01:00
Felipe Sere
d0ef48c753 Sketch out nth_back 2019-12-12 20:26:38 +01:00
Felipe Sere
fa288931c6 Skeleton for DoubleEndedStreamExt trait 2019-12-12 20:26:38 +01:00
Yoshua Wuyts
63b6a2b961
Merge pull request #614 from killzoner/doc-typo-await
fix: Fix typo in documentation
2019-12-12 12:04:23 +01:00
Yoshua Wuyts
1103c17e16
Merge pull request #613 from k-nasa/fix_readme
Readme example simply compile
2019-12-12 12:03:45 +01:00
Yoshua Wuyts
a0f3b3b753 Remove unused macros (#610)
* replace async-macros with internals only

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

* clean up MaybeDone

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

* inline futures_core::ready

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

* remove big commented blob

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-12-11 12:49:22 +01:00
Tomasz Miąsko
f06ab9fbc4 Remove mention of task stack size configuration (#612) 2019-12-11 12:36:50 +01:00
svengrim
447c17128f
fix: Fix typo in documentation 2019-12-10 14:37:32 +01:00
k-nasa
a04157850b fix readme 2019-12-08 15:15:29 +09:00
nasa
9311fd7fae
Merge pull request #595 from linkmauve/patch-1
docs: Replace mention of futures-preview crate
2019-12-07 23:22:03 +09:00
nasa
f7b21a3e8d
Merge pull request #608 from dungph/master
fix link to `task/block_on` on README.md
2019-12-07 10:45:44 +09:00
Dung Pham
f0bdcfec25
fix link 2019-12-06 13:06:44 +07:00
Yoshua Wuyts
bce8688763
Merge pull request #603 from bluk/udp-socket-recv-doc
Change recv_from to recv in UdpSocket::recv doc
2019-12-03 06:25:26 +09:00
Bryant Luk
fd86effb63
Change recv_from to recv in UdpSocket::recv doc 2019-12-02 13:04:19 -06:00
nasa
128a6bc6ce
Merge pull request #598 from povilasb/fix/docs
Fix a link in the docs
2019-11-30 12:48:10 +09:00
Yoshua Wuyts
d51a135015
Merge pull request #309 from async-rs/stream-delay
Stream::delay
2019-11-30 11:25:41 +09:00
Povilas Balciunas
81e3c41826 Fix a link in the docs 2019-11-29 11:52:54 +13:00
k-nasa
fb1fb6c903 test: Test the delay time 2019-11-28 22:53:24 +09:00
k-nasa
da965e9ba4 fix indent 2019-11-28 15:54:13 +09:00
k-nasa
9f7c1833dc fix module 2019-11-28 10:37:04 +09:00
linkmauve
55560ea9b4
docs: Replace mention of futures-preview crate
It is now stable in 0.3.
2019-11-27 19:35:27 +01:00
Stjepan Glavina
bf9ee88815 Fix a typo 2019-11-27 16:29:29 +01:00
Stjepan Glavina
9627826756 Bump the version to 1.2.0 2019-11-27 16:14:43 +01:00
Stjepan Glavina
4ed15d67c9 Fix links in the changelog 2019-11-27 16:12:31 +01:00
Stjepan Glavina
0165d7f6d1 Add missing items to the changelog 2019-11-27 16:08:57 +01:00
Yoshua Wuyts
dba416608a 1.2.0 (#589)
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-27 16:05:15 +01:00
Yoshua Wuyts
68005661d9 fix Stream::throttle hot loop (#584)
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-27 15:47:27 +01:00
nasa
794e331761 Refactor join type (#577)
* refactor: update future join type

* test: update future join test

* update future::try_join
2019-11-27 13:38:38 +01:00
Yoshua Wuyts
63f7ea3081
Merge pull request #587 from async-rs/contributing
link to our contribution guidelines
2019-11-27 13:21:40 +01:00
k-nasa
32765ece41 test: Add stream::delay test code 2019-11-27 14:26:25 +09:00
k-nasa
635c592950 feat: Add stream::delay 2019-11-27 14:26:04 +09:00
k-nasa
3b055f364e Merge branch 'master' into stream-delay 2019-11-27 13:50:05 +09:00
Yoshua Wuyts
46cafffc31
Merge pull request #571 from killercup/more-errors
Add context to more errors
2019-11-27 01:54:27 +01:00
boats
0f30ab8c0a Fix the docs and Debug output of BufWriter. (#588)
The BufWriter docs inaccurately stated that it flushes on drop, which it does
not do. This PR changes the docs, as well as the example, to highlight that
the user must explicitly flush a bufwriter.

There were also two places where the BufWriter code referred to it as a
BufReader: in the link to the std docs, and in the Debug output. Those have
also been fixed.
2019-11-26 14:23:10 +01:00
Yoshua Wuyts
e66e2e2b8f
link to our contribution guidelines
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-26 11:42:02 +01:00
Pascal Hertleif
56538ebd91 Improve verbose errors for socket addresses
Moves the point of adding error context to the net::addr module so that
we have access to the raw address input and can include it in the error
message.
2019-11-25 23:30:31 +01:00
Pascal Hertleif
aa7d1c27a4
Verbose errors: Apply suggestions
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
2019-11-25 21:18:40 +01:00
Yoshua Wuyts
850b8ae9d0
Merge pull request #543 from k-nasa/stream_unzip
Add stream unzip
2019-11-25 20:25:44 +01:00
Yoshua Wuyts
ac7a796f82
Merge pull request #537 from k-nasa/ci_master
Enable CI on master branch
2019-11-25 12:53:37 +01:00
Yoshua Wuyts
50cefce803
Merge pull request #561 from async-rs/1.1.0
1.1.0
2019-11-21 22:01:34 +01:00
Yoshua Wuyts
3780ff7b44
1.1.0
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>

changelog

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-21 21:49:32 +01:00
Yoshua Wuyts
c9a2e74789
Merge pull request #523 from async-rs/update-lib-example
polish lib.rs examples
2019-11-21 21:24:54 +01:00
Yoshua Wuyts
cffacf7fa3
feedback from review
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-21 21:21:19 +01:00
Yoshua Wuyts
02e1d7e5ea
Merge pull request #574 from stjepang/ignore-unread-errors
Ignore seek errors in poll_unread
2019-11-21 18:32:55 +01:00
laizy
ec5415358f simplify AllFuture and AnyFuture (#572) 2019-11-21 18:03:23 +01:00