k-nasa
001368d3df
$cargo fmt
5 years ago
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
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
Taiki Endo
944e43d4bf
Remove Pin API related unsafe code by using pin-project-lite cra… ( #381 )
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
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
Taiki Endo
e405544ea0
Enable tests on CI ( #357 )
...
* Enable tests on CI
* Fix failed test
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
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
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
Yoshua Wuyts
2bd82ac249
updates
...
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
609a5780a2
0.99.10
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
4911f4599b
init changelog
...
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