Commit Graph

933 Commits (925b42bc89aec0fb707e22303f6f9d6cae828377)
 

Author SHA1 Message Date
k-nasa 00e7e58bf3 fix type def 5 years ago
k-nasa 271b6f4a1c fix: Using pin_project! 5 years ago
k-nasa 3297a0f327 Merge branch 'master' into add_stream_flatten 5 years ago
k-nasa 48b255897e Merge branch 'master' into add_stdin_lock 5 years ago
k-nasa feeb3c10df fix: Remove Pin API related unsafe code 5 years ago
k-nasa b17af61367 Merge branch 'master' into add_stream_timeout 5 years ago
k-nasa d97b3dfdf3 fix: Remove Pin API related unsafe code 5 years ago
k-nasa 5c9cfb4fe8 Merge branch 'master' into add_future_delay 5 years ago
Stjepan Glavina b2fe91385b
Add channel behind unstable feature flag (#380)
* Add channel behind unstable feature flag

* Don't check tests without unstable feature flag

* Fix typos

* Remove useless attribute
5 years ago
Taiki Endo 2abf5ca891
Deny warnings on CI (#378)
* Deny warnings on CI

* Fix some clippy warnings
5 years ago
yjhmelody f5a0a0ba86 fmt 5 years ago
yjhmelody d6f940110b update doc 5 years ago
yjhmelody 020eb85093 add stream::min_by_key method 5 years ago
Taiki Endo 944e43d4bf Remove Pin API related unsafe code by using pin-project-lite cra… (#381) 5 years ago
yjhmelody 4e5828e646 add stream::max_by method 5 years ago
Kyle Tomsic e26eb7a719 Add `Stream::sum()` and `Stream::product()` implementations
These are the stream equivalents to `std::iter::Iterator::sum()` and
`std::iter::Iterator::product()`.

Note that this changeset tweaks the `Stream::Sum` and `Stream::Product`
traits a little: rather than returning a generic future `F`, they return
a pinned, boxed, `Future` trait object now. This is in line with other
traits that return a future, e.g. `FromStream`.
5 years ago
Andre Zanellato faad4c8c26 Sentence structure on notice 5 years ago
Andre Zanellato 88558eae6e Typos and sentence structure fixes 5 years ago
Sunjay Varma 0d4a907335 Added Extend + FromStream for PathBuf 5 years ago
k-nasa 410d16eaf6 Add docs + To unstable feature 5 years ago
k-nasa 1c1e2230f3 Merge branch 'master' into add_stream_flatten 5 years ago
k-nasa 176359afae Add Stream::flatten 5 years ago
k-nasa 8138afbfad feat: Add Stream trait for Flatten 5 years ago
k-nasa cd862083a5 Add Flatten struct 5 years ago
k-nasa 2187a2a31d feat: Add Stream::flat_map 5 years ago
k-nasa 2dee289750 Add FlatMap struct 5 years ago
k-nasa bb1416420d feat: Add Stream trait for FlattenCompat 5 years ago
Stjepan Glavina 8bef2e9e95 Don't flush files if they weren't written to 5 years ago
Stjepan Glavina ec23632f3e
Cleanup: replace cfg-if with our macros (#361)
* Cleanup: replace cfg-if with our macros

* Prefix macros with cfg_

* Remove #[macro_export] from internal macros
5 years ago
k-nasa ec98b41c85 feat: Add FlattenCompat struct 5 years ago
Stjepan Glavina 46f0fb1c64
Make sure each invocation of block_on uses its own Parker (#358) 5 years ago
k-nasa f2bf01223c $cargo fmt 5 years ago
k-nasa 70e8476264 fix StdinLock doc test 5 years ago
k-nasa a5a00d7b14 feat: Add StdinLock struct 5 years ago
Taiki Endo e405544ea0
Enable tests on CI (#357)
* Enable tests on CI

* Fix failed test
5 years ago
k-nasa b58bd8d725 Merge branch 'add_stream_timeout' of https://github.com/k-nasa/async-std into add_stream_timeout 5 years ago
k-nasa 0a4073449b doc: Add Stream::Timeout doc 5 years ago
k-nasa c3f6f969c5 fix: Rename TimeoutStream to Timeout 5 years ago
k-nasa 53fa132d13 fix type Declaration 5 years ago
k-nasa 9d55fff81d fix export FutureExt 5 years ago
Yoshua Wuyts ca80ca981e
Merge pull request #338 from async-rs/draft-0.99.10
init 0.99.10 release
5 years ago
Yoshua Wuyts 802d4dfc3b
finalize changelog
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
nasa f1ed034600
Update src/stream/stream/mod.rs
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
5 years ago
Yoshua Wuyts 9ff0750d4d
Merge pull request #353 from async-rs/fix-printing
fix print macros
5 years ago
Yoshua Wuyts 6eb3ea2b21
Merge pull request #279 from montekki/fs-stream-repeat-with
Adds stream::repeat_with
5 years ago
Yoshua Wuyts 4d34a15363
fix macros, take II
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 822e4bc220
Merge branch 'master' into fs-stream-repeat-with 5 years ago
Yoshua Wuyts 6e0905d3ca correctly mark stream::Merge as unstable (#352)
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
k-nasa 10f32ca817 Fix TimeoutError 5 years ago
Johannes Weissmann aaa1b6ca39 add Stream::last (#347)
* add stream::LastFuture (not compiling)

Struggling with the associated type, pinning and how to move/copy
LastFuture.last.

* fix type signature -> still cannot assign

still problems assigning the new value to self.last

* remove unused bound

* add doctest

* unpin LastFuture.last

* RustFmt

* add static lifetime

* remove redundant lifetime
5 years ago