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
Stjepan Glavina
add6863185
Fix typos
5 years ago
Yoshua Wuyts
faff1f7370
task docs ( #346 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
e986e7ba66
Merge pull request #345 from async-rs/io-docs
...
Io docs
5 years ago
Wouter Geraedts
6b00e5e66c
Implemented StreamExt::try_fold ( #344 )
5 years ago
assemblaj
4b96ea1273
Adds Stream::cmp ( #273 )
...
* Adds cmp
* Fixes formatting
* cleans up examples
* attempts to fix rustdoc issue
* formats with cargo fmt
* Adds proper trait bounds for cmp
5 years ago
Yoshua Wuyts
d250eee556
port the std::io docs to async_std::io
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
9f8fa45dc7
io docs
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
assemblaj
a7041be6f2
Adds Stream:ge ( #285 )
...
* Adds partial_cmp.rs file and partial_cmp signature to mod.rs
* adds tests that compare streams of same length
* Adds Stream::ge
* cargo fmt
* fixes rustdoc error
5 years ago
assemblaj
5f7238eec6
[Draft PR] Adds Stream::gt ( #304 )
...
* [Draft PR] Adds Stream::gt
* Applies cargo format and fixes incorrect comment
* cargo fmt
* fixes rustdoc related issues
5 years ago
assemblaj
f0f279ec04
Adds Stream::le ( #336 )
5 years ago
assemblaj
a8dc2c6f9b
Adds Stream::lt ( #337 )
5 years ago
Yoshua Wuyts
24cdb2d489
add stream::{Sum,Product} ( #343 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
00d936488b
stabilize future::timeout ( #335 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
49faea2023
init FutureExt ( #308 )
...
* init FutureExt
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* prelude
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* Refactor extension_trait
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* Fix rustdoc
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
d46364c834
Merge pull request #299 from async-rs/blocking-updates
...
Blocking updates
5 years ago
Yoshua Wuyts
237cfa0315
add IntoFuture ( #259 )
...
* add IntoFuture
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* blanket impl for IntoFuture
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* cargo fmt
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* example
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* mark as unstable
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
33806ad44c
fix warning
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
12fdc1232d
rename task::blocking to task::spawn_blocking
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
b4c1c63fd2
task::blocking async closure -> FnOnce
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
1a3429655c
init blocking-updates
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Fedor Sakharov
23beab4125
Adds a from_fn stream implementation ( #277 )
...
* Adds a from_fn stream implementation
* Update src/stream/from_fn.rs
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
* Fix review nits
* Use async_std Mutex
5 years ago
Yoshua Wuyts
e938527f66
add stream::interval ( #298 )
...
* add stream::interval
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* fix tests
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* cargo fmt
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* cross-docs
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* update deps
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
35fc85a157
clean readme ( #331 )
...
* clean readme
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* add back features
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* Update README.md
Co-Authored-By: Stjepan Glavina <stjepang@gmail.com>
5 years ago
Yoshua Wuyts
aed9e2efdf
removes Travis CI ( #333 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Wouter Geraedts
c7f6543502
Inline TryFutureExt logic for src/io/timeout.rs ( #317 )
5 years ago
Yoshua Wuyts
1819408b46
add stream::ExactSizeStream as unstable ( #330 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Johannes Weissmann
6be8467cdc
impl Stream::take_while adapter ( #332 )
...
* impl take_while stream adapter
* fmt
* add comment
* unindent where clauses
5 years ago
Yoshua Wuyts
529a58a066
Merge pull request #327 from assemblaj/assemblaj-partial_cmp_final
...
Adds Stream::partial_cmp
5 years ago
Yoshua Wuyts
00a8433338
Merge pull request #320 from Wassasin/183-async-path
...
Implement async Path & PathBuf
5 years ago
Stjepan Glavina
aa13ba758b
Refactor
5 years ago
Stjepan Glavina
5c1e0522b7
Fix failing tests
5 years ago
Stjepan Glavina
504f8cb137
Use crate::path everywhere
5 years ago
Stjepan Glavina
f9cfee9e2c
Formatting
5 years ago
Stjepan Glavina
0adcb50f58
Add ToOwned and Borrow impls
5 years ago
Wouter Geraedts
ba87048db5
Implemented our own Path::ancestors iterator
5 years ago
assemblaj
80bee9a215
Adds Stream::partial_cmp
5 years ago
Yoshua Wuyts
612a94b31e
Add process submodule as unstable ( #310 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
e1deaa58d8
Add BufRead::split ( #312 )
...
* add BufRead::split
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* fix docs
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* Update src/io/buf_read/mod.rs
Co-Authored-By: Stjepan Glavina <stjepang@gmail.com>
5 years ago
Yoshua Wuyts
5f52efe465
Merge pull request #324 from async-rs/stabilize-future-join
...
stabilize future::{join,try_join}
5 years ago
Yoshua Wuyts
a9950c5c9f
stabilize task::ready! ( #325 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
fe88da4e64
make all print macros unstable ( #322 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
9b0e02dbb7
Merge pull request #326 from async-rs/fused-stream
...
add stream::FusedStream as "unstable"
5 years ago
Yoshua Wuyts
d6aa1fb501
Add task::yield_now as "unstable" ( #300 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
3ac4575d94
add stream::FusedStream
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
05ba07daf8
stabilize future::{join,try_join}
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
454018ef42
Merge pull request #321 from async-rs/stream_merge
...
rename stream::join to Stream::merge
5 years ago
Yoshua Wuyts
04342c7b5d
docs
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
b601bcfcb8
polish
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
84a148ddae
rename stream::join to Stream::merge
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago