Yoshua Wuyts
2cb887e154
Merge pull request #465 from async-rs/non-pub-flatten
...
hide future::Flatten::new
2019-11-07 03:18:43 +01:00
Yoshua Wuyts
929027796e
hide future::Flatten
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-07 03:06:38 +01:00
Yoshua Wuyts
9a8805678e
Merge pull request #443 from portgasd666/master
...
Added Future::flatten
2019-11-07 03:04:23 +01:00
Yoshua Wuyts
a064a5b13e
Merge pull request #459 from stjepang/expose-ext-traits
...
Expose extension traits in preludes
2019-11-07 02:48:50 +01:00
Stjepan Glavina
c34e0f8a35
Update futures to 0.3 ( #463 )
...
* Update futures to 0.3
* Fix a search-and-replace error
* Fix imports in tests
* Fix an import
2019-11-06 20:20:27 +00:00
Stjepan Glavina
93b01e36ed
Clippy fixes ( #462 )
2019-11-06 19:29:17 +00:00
Gabriel Majeri
d502453057
Remove doc Stream
impl for VecDeque
( #461 )
2019-11-06 08:35:31 +00:00
Yoshua Wuyts
3144e217ae
Merge pull request #458 from async-rs/rework-intro
...
rework lib.rs docs
2019-11-06 01:19:16 +01:00
Stjepan Glavina
c3254d78d9
Fix a re-rexport
2019-11-06 01:17:35 +01:00
Yoshua Wuyts
f4fb8a3534
change one line
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-06 01:04:46 +01:00
Yoshua Wuyts
1c87e97e9c
Apply suggestions from code review
...
Co-Authored-By: Stjepan Glavina <stjepang@gmail.com>
2019-11-06 01:02:39 +01:00
Stjepan Glavina
a757cc02dc
Expose extension traits in preludes
2019-11-06 00:21:32 +01:00
Yoshua Wuyts
ae8b051892
rework lib.rs docs
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-05 21:00:12 +01:00
Stjepan Glavina
1707638ebb
Update mod.rs
2019-11-05 17:09:32 +00:00
Yoshua Wuyts
84fa4ca068
Merge pull request #456 from stjepang/doc-fixes-links
...
Fix some links in docs
2019-11-05 18:06:03 +01:00
Stjepan Glavina
43bb59cd02
Fix some links in docs
2019-11-05 17:49:05 +01:00
Yoshua Wuyts
e14cc2a30d
Merge pull request #452 from stjepang/fix-deadlocks
...
Fix a deadlock in channel
2019-11-05 11:27:00 +01:00
Stjepan Glavina
6d421de992
Fix another clippy warning
2019-11-05 10:16:00 +00:00
Stjepan Glavina
5874392397
Fix a clippy warning
2019-11-04 18:48:49 +01:00
Stjepan Glavina
e9edadffc7
Fix a deadlock in channel
2019-11-04 18:15:12 +01:00
Yoshua Wuyts
282ae064fe
Merge pull request #449 from async-rs/strip-vecdeque
...
remove remaining instances of VecDeque stream
2019-11-04 17:46:19 +01:00
Abhishek C. Sharma
d7afcada76
Fixed ambiguous associated types
2019-11-04 15:19:47 +05:30
Abhishek C. Sharma
e36172e808
Merge remote-tracking branch 'upstream/master'
2019-11-04 14:03:29 +05:30
Abhishek C. Sharma
a3e68704bc
Wrap state enum in public struct
2019-11-04 13:58:14 +05:30
Stjepan Glavina
20cdf73bb0
Simplify RwLock using WakerSet ( #440 )
2019-11-04 02:40:55 +01:00
Yoshua Wuyts
ed1cb49807
remove remaining instances of VecDeque stream
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-04 01:57:53 +01:00
Stjepan Glavina
78614c6c1d
Clarify blocking in channel docs ( #448 )
2019-11-03 22:19:04 +01:00
nasa
ddbbbfc32a
Replace VecDeque
with stream::from_iter
in examples ( #447 )
2019-11-03 13:40:51 +01:00
Abhishek C. Sharma
e0910be8fb
Added Future::flatten
2019-11-03 11:34:49 +05:30
Aleksey Kladov
fa91d7f856
Stream::merge does not end prematurely if one stream is delayed ( #437 )
...
* Stream::merge does not end prematurely if one stream is delayed
* `cargo test` without features works
* Stream::merge works correctly for unfused streams
2019-11-03 00:11:59 +01:00
Yoshua Wuyts
9a4f4c591c
Merge pull request #441 from async-rs/stdio-lock-unstable
...
mark stdio-lock structs as unstable
2019-11-03 00:05:11 +01:00
Yoshua Wuyts
6f9436e575
mark stdio-lock structs as unstable
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-02 23:54:27 +01:00
Yoshua Wuyts
735fa6954e
Replace select!/try_select! with Future::{race,try_race} ( #405 )
...
* init Future::select
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* implement Future::select
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* try_select
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* fixes
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* works
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* pass clippy
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* please clippy
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* implement feedback from stjepan
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* rename select to race
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* fmt
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-02 23:00:03 +01:00
yjh
3a2e6d5b92
add max_by_key ( #408 )
...
* add max_by_key
* fix conflict
* fmt code
2019-11-02 15:59:15 +01:00
Zhang Guyu
5fb9d3e980
add Stream::copied ( #442 )
2019-11-02 15:58:30 +01:00
Yoshua Wuyts
4c63392a85
Merge pull request #334 from k-nasa/add_stdin_lock
...
Locking for stdin
2019-11-02 14:18:36 +01:00
k-nasa
3dcad984b4
fix: To unstable feature
2019-11-02 12:34:53 +09:00
Yoshua Wuyts
c413e717da
Merge pull request #429 from markhildreth/tcp_smoke_tests
...
Added TCP smoke tests against std Listener and Stream
2019-11-02 02:30:42 +01:00
Yoshua Wuyts
911ebada0b
Merge pull request #434 from paulocsanz/master
...
Put everything behind a 'stable' feature to avoid future breaking changes
2019-11-02 01:33:52 +01:00
Aleksey Kladov
ec1a6ea3e8
Fix typo ( #439 )
2019-11-01 22:08:19 +01:00
Tyler Neely
5adc608791
Spawn several threads when we fail to enqueue work in the blocki… ( #181 )
...
* Rebase onto master
* Switch to unbounded channels
2019-11-01 21:53:13 +01:00
Sheyne Anderson
1a51ca424a
Fix typo in tutorial in book ( #412 )
2019-11-01 20:17:46 +01:00
k-nasa
81873ae5f3
fix
2019-11-02 01:27:27 +09:00
Florian Gilcher
d5fd035956
Small example for a TCP server that both handles IP v4 and v6 ( #418 )
...
* Add a small example for listening to both ipv4 and ipv6
Presenting stream merge on Incoming.
* Change stable checks workflow to not cover examples, but tests
2019-11-01 16:10:37 +01:00
Yoshua Wuyts
e17a6703c8
Merge pull request #415 from k-nasa/stream_from_iter
...
Add stream::from_iter
2019-11-01 16:05:58 +01:00
Paulo
8e991bcd3a
Fix typo
2019-11-01 10:59:38 -03:00
Paulo
2e66c38453
Simplify default feature
2019-11-01 10:58:51 -03:00
k-nasa
0661f774c2
Merge branch 'master' into add_stdin_lock
2019-11-01 21:20:38 +09:00
k-nasa
2f3c867d44
Merge branch 'master' into stream_from_iter
2019-11-01 21:19:53 +09:00
k-nasa
063798ce49
Add doc
2019-11-01 21:18:43 +09:00