Commit Graph

943 Commits (v1.0.0)
 

Author SHA1 Message Date
Yoshua Wuyts 1c87e97e9c
Apply suggestions from code review
Co-Authored-By: Stjepan Glavina <stjepang@gmail.com>
5 years ago
Stjepan Glavina a757cc02dc Expose extension traits in preludes 5 years ago
Yoshua Wuyts ae8b051892
rework lib.rs docs
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina 1707638ebb
Update mod.rs 5 years ago
Yoshua Wuyts 84fa4ca068
Merge pull request #456 from stjepang/doc-fixes-links
Fix some links in docs
5 years ago
Stjepan Glavina 43bb59cd02 Fix some links in docs 5 years ago
yjh 5179f30d2d
use async_std::stream 5 years ago
yjh a35602f375
Update mod.rs 5 years ago
Yoshua Wuyts e14cc2a30d
Merge pull request #452 from stjepang/fix-deadlocks
Fix a deadlock in channel
5 years ago
Stjepan Glavina 6d421de992 Fix another clippy warning 5 years ago
Stjepan Glavina 5874392397 Fix a clippy warning 5 years ago
Stjepan Glavina e9edadffc7 Fix a deadlock in channel 5 years ago
Yoshua Wuyts 282ae064fe
Merge pull request #449 from async-rs/strip-vecdeque
remove remaining instances of VecDeque stream
5 years ago
yjh e85bbe68e6
Merge branch 'master' into stream-cloned 5 years ago
Abhishek C. Sharma d7afcada76 Fixed ambiguous associated types 5 years ago
Abhishek C. Sharma e36172e808 Merge remote-tracking branch 'upstream/master' 5 years ago
Abhishek C. Sharma a3e68704bc Wrap state enum in public struct 5 years ago
yjh 8bef812e78
Update src/stream/stream/cloned.rs
Co-Authored-By: nasa <htilcs1115@gmail.com>
5 years ago
yjh bf0cd5987a
Update src/stream/stream/cloned.rs
Co-Authored-By: nasa <htilcs1115@gmail.com>
5 years ago
Stjepan Glavina 20cdf73bb0
Simplify RwLock using WakerSet (#440) 5 years ago
Yoshua Wuyts ed1cb49807
remove remaining instances of VecDeque stream
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina 78614c6c1d
Clarify blocking in channel docs (#448) 5 years ago
nasa ddbbbfc32a Replace `VecDeque` with `stream::from_iter` in examples (#447) 5 years ago
yjhmelody 4942dc7f9f Add Stream cloned 5 years ago
Abhishek C. Sharma e0910be8fb Added Future::flatten 5 years ago
Felipe Sere 57a6516e63 Make bounds on Stream impl simpler 5 years ago
Felipe Sere fbd5bd867d Revert "Only one generic type needed"
This reverts commit e9b9284863a614b852c22d58205cb983fc26682a.
5 years ago
Felipe Sere 9ee804f9ed Only one generic type needed 5 years ago
Felipe Seré eaa56580e3 Update src/stream/stream/mod.rs
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
5 years ago
Felipe Sere 0186124aef Simpler impl 5 years ago
Felipe Sere 197253aa73 Run fmt 5 years ago
Felipe Sere 19381fa590 One clippy warning 5 years ago
Felipe Sere ed5b095c73 Run fmt 5 years ago
Felipe Sere 5aadc5e4e9 Make cycle a function on the stream type 5 years ago
Felipe Sere b979773505 Follow clippys advice 5 years ago
Felipe Sere fd09e2f248 Run fmt 5 years ago
Felipe Sere 171cc82aed Replace copy with clone bound 5 years ago
Felipe Sere 83ff11ff4c Switch cycle to stream 5 years ago
Felipe Sere e1ba87e7c1 Add slightly better docs 5 years ago
Felipe Sere 8126bb1882 use the module operator to calculate next index 5 years ago
Felipe Sere 486f9a964c Cycle over a known set of values. 5 years ago
Felipe Sere a096d5ec2d stub out an example 5 years ago
Felipe Sere dea1b67670 Skeleton cycle 5 years ago
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
5 years ago
Yoshua Wuyts 9a4f4c591c
Merge pull request #441 from async-rs/stdio-lock-unstable
mark stdio-lock structs as unstable
5 years ago
Yoshua Wuyts 6f9436e575
mark stdio-lock structs as unstable
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
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>
5 years ago
yjh 3a2e6d5b92 add max_by_key (#408)
* add max_by_key

* fix conflict

* fmt code
5 years ago
Zhang Guyu 5fb9d3e980 add Stream::copied (#442) 5 years ago
Yoshua Wuyts 4c63392a85
Merge pull request #334 from k-nasa/add_stdin_lock
Locking for stdin
5 years ago