Felipe Sere
c4b9a7f680
Add samples for some of the functions
5 years ago
Felipe Sere
aabfefd015
Add a sample implementation of a double ended stream
5 years ago
Felipe Sere
cc493df433
Sketch out rfold
5 years ago
Felipe Sere
78bafbb88f
Sketch outch rfind
5 years ago
Felipe Sere
d0ef48c753
Sketch out nth_back
5 years ago
Felipe Sere
fa288931c6
Skeleton for DoubleEndedStreamExt trait
5 years ago
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>
5 years ago
Tomasz Miąsko
f06ab9fbc4
Remove mention of task stack size configuration ( #612 )
5 years ago
Bryant Luk
fd86effb63
Change recv_from to recv in UdpSocket::recv doc
5 years ago
nasa
128a6bc6ce
Merge pull request #598 from povilasb/fix/docs
...
Fix a link in the docs
5 years ago
Yoshua Wuyts
d51a135015
Merge pull request #309 from async-rs/stream-delay
...
Stream::delay
5 years ago
Povilas Balciunas
81e3c41826
Fix a link in the docs
5 years ago
k-nasa
fb1fb6c903
test: Test the delay time
5 years ago
k-nasa
da965e9ba4
fix indent
5 years ago
k-nasa
9f7c1833dc
fix module
5 years ago
Yoshua Wuyts
68005661d9
fix Stream::throttle hot loop ( #584 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
nasa
794e331761
Refactor join type ( #577 )
...
* refactor: update future join type
* test: update future join test
* update future::try_join
5 years ago
k-nasa
32765ece41
test: Add stream::delay test code
5 years ago
k-nasa
635c592950
feat: Add stream::delay
5 years ago
k-nasa
3b055f364e
Merge branch 'master' into stream-delay
5 years ago
Yoshua Wuyts
46cafffc31
Merge pull request #571 from killercup/more-errors
...
Add context to more errors
5 years ago
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.
5 years ago
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.
5 years ago
Pascal Hertleif
aa7d1c27a4
Verbose errors: Apply suggestions
...
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
5 years ago
Yoshua Wuyts
850b8ae9d0
Merge pull request #543 from k-nasa/stream_unzip
...
Add stream unzip
5 years ago
Yoshua Wuyts
c9a2e74789
Merge pull request #523 from async-rs/update-lib-example
...
polish lib.rs examples
5 years ago
Yoshua Wuyts
cffacf7fa3
feedback from review
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
02e1d7e5ea
Merge pull request #574 from stjepang/ignore-unread-errors
...
Ignore seek errors in poll_unread
5 years ago
laizy
ec5415358f
simplify AllFuture and AnyFuture ( #572 )
5 years ago
Stjepan Glavina
16edec3464
Ignore seek errors in poll_unread
5 years ago
Pascal Hertleif
e01f07d72a
Add context to more errors
...
cc #569
5 years ago
Yoshua Wuyts
b3d30de4a1
mark windows fs APIs as "unstable" ( #567 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
nasa
d146d95a39
Update src/stream/stream/mod.rs
...
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
5 years ago
Stjepan Glavina
5fba3a0928
Fix rng use in Stream::merge
5 years ago
Yoshua Wuyts
2ca03cabe6
Merge pull request #552 from hhggit/win_symlink
...
add os::windows::symlink_{dir,file}
5 years ago
hhggit
72ed4eb4fd
Update mod.rs
5 years ago
Yoshua Wuyts
77800ab3f9
Merge pull request #526 from yjhmelody/refactor-dir
...
refactor io dir to be same with std and export IntoInnerError
5 years ago
Yoshua Wuyts
8ea920c9f0
Merge pull request #546 from k-nasa/fix_clippy
...
Fix clippy warn
5 years ago
Yoshua Wuyts
d1189f9974
Merge pull request #548 from yjhmelody/fix-stream-code-style
...
fix stream code style
5 years ago
Yoshua Wuyts
3f8ec5a007
Merge pull request #551 from killercup/feature/verbose-errors
...
verbose errors feature
5 years ago
nasa
3bc4d293dd
Merge pull request #503 from Razican/random_merge
...
Randomize Stream::merge to improve the throughput.
5 years ago
razican
72ca2c1a24
Improved the code with some minor changes
5 years ago
k-nasa
b5e66c4f93
refactor: Refactoring option type handling
5 years ago
k-nasa
080875edc9
update min_by_key doc
5 years ago
k-nasa
ca71ad073b
fix stream min_by_key mistake
5 years ago
k-nasa
667bbc1019
doc: update doc test
5 years ago
k-nasa
64b2e10b93
fix max_by_key mistake
5 years ago
k-nasa
314a75da28
fix typo
5 years ago
Pascal Hertleif
c704643296
Remove verbose-errors cargo feature
5 years ago
Yoshua Wuyts
c6622475b2
Merge pull request #555 from stjepang/optimize-cargo-check
...
Macro optimization to reduce compilation times
5 years ago