Yoshua Wuyts
2b1c6f04ea
Merge pull request #384 from yjhmelody/stream-max_by
...
add stream::max_by method
2019-10-29 11:19:50 +01:00
Yoshua Wuyts
5ff4ef8dd4
Merge pull request #385 from yjhmelody/stream-min_by_key
...
add stream::min_by_key method
2019-10-29 11:18:34 +01:00
Yoshua Wuyts
526c4da21a
Merge pull request #395 from async-rs/stream-docs
...
add stream mod docs
2019-10-29 10:50:26 +01:00
Yoshua Wuyts
997e811c58
Merge pull request #402 from async-rs/fuse-docs
...
update Stream::fuse docs
2019-10-29 10:49:43 +01:00
Yoshua Wuyts
eb081b1948
Apply suggestions from code review
...
Co-Authored-By: Florian Gilcher <florian.gilcher@ferrous-systems.com>
2019-10-29 10:23:54 +01:00
k-nasa
1554b04407
$cargo fmt
2019-10-29 10:12:22 +09:00
k-nasa
ae7adf2c36
fix: Remove unused import
2019-10-29 10:01:41 +09:00
k-nasa
040227f38a
Merge branch 'master' into add_stream_flatten
2019-10-29 09:58:10 +09:00
k-nasa
688976203e
fix: Split FlattenCompat logic to Flatten and FlatMap
2019-10-29 09:52:50 +09:00
Yoshua Wuyts
b3ae6f2b03
update Stream::fuse docs
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-28 13:02:13 +01:00
Yoshua Wuyts
ca4856a0e8
Merge pull request #377 from ktomsic/sum-and-product-impls
...
Add `Stream::sum()` and `Stream::product()` implementations
2019-10-28 12:34:30 +01:00
Yoshua Wuyts
fd940b8c6a
Merge pull request #348 from k-nasa/add_stream_timeout
...
Add stream timeout
2019-10-28 12:12:02 +01:00
Florian Gilcher
f262fd8a40
Merge pull request #392 from taiki-e/clippy
...
Remove usage of actions-rs/clippy-check
2019-10-27 20:26:43 -07:00
Florian Gilcher
c2a084ed4a
Merge pull request #393 from k-nasa/fix_clippy
...
Fix clippy warnings
2019-10-27 20:22:35 -07:00
Yoshua Wuyts
4c4604d63e
add stream mod docs
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-28 00:08:32 +01:00
Yoshua Wuyts
4475a229d6
backlink io docs
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-27 22:46:18 +01:00
Yoshua Wuyts
a3a740c14a
backlink all docs
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-27 22:29:20 +01:00
k-nasa
7c293d37f7
fix clippy::comparison_chain
2019-10-27 20:32:22 +09:00
nasa
a42ae2f3d9
Narrow the disclosure range of FlattenCompat::new
...
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
2019-10-27 12:35:51 +09:00
nasa
37f14b0195
Narrow the disclosure range of Flatten::new
...
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
2019-10-27 12:35:32 +09:00
nasa
13a08b0d54
Narrow the disclosure range of FlatMap::new
...
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
2019-10-27 12:35:14 +09:00
Taiki Endo
6549b66ad2
run clippy check on beta & address clippy warnings
2019-10-27 03:28:20 +09:00
yjhmelody
7cfec4e8ce
use take and remove Copy
2019-10-27 00:26:19 +08:00
yjh
fb78ed1812
Update src/stream/stream/min_by_key.rs
...
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
2019-10-27 00:19:49 +08:00
yjh
5a4fdeb1cd
Update src/stream/stream/min_by_key.rs
...
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
2019-10-27 00:18:18 +08:00
yjh
b57849e1cb
Update src/stream/stream/max_by.rs
...
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
2019-10-27 00:18:01 +08:00
yjh
a8d3d1483f
Update src/stream/stream/max_by.rs
...
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
2019-10-27 00:17:50 +08:00
yjh
006fc7e9de
Update src/stream/stream/max_by.rs
...
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
2019-10-27 00:17:42 +08:00
yjhmelody
c9e6d3a84c
use pin_project_lite
2019-10-26 12:59:43 +08:00
yjhmelody
37a7eadf17
use pin_project_lite
2019-10-26 11:52:41 +08:00
yjhmelody
d0c3c9172b
Merge branch 'master' of git://github.com/async-std/async-std into stream-max_by
2019-10-26 11:34:59 +08:00
k-nasa
61b7a09c70
Fix type declaration
2019-10-26 01:45:12 +09:00
nasa
8932cecec7
Update src/stream/stream/flatten.rs
...
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
2019-10-26 01:43:14 +09:00
nasa
bf3508ffb2
Update src/stream/stream/flatten.rs
...
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
2019-10-26 01:43:07 +09:00
nasa
6168952d6f
Update src/stream/stream/flatten.rs
...
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
2019-10-26 01:42:57 +09:00
nasa
b7b5df13aa
Update src/stream/stream/flatten.rs
...
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
2019-10-26 01:42:39 +09:00
k-nasa
0c5abee284
to unstable stream::flat_map, stream::flatten
2019-10-26 00:36:04 +09:00
k-nasa
001368d3df
$cargo fmt
2019-10-26 00:29:10 +09:00
k-nasa
00e7e58bf3
fix type def
2019-10-26 00:26:53 +09:00
k-nasa
271b6f4a1c
fix: Using pin_project!
2019-10-25 23:58:08 +09:00
k-nasa
3297a0f327
Merge branch 'master' into add_stream_flatten
2019-10-25 23:34:44 +09:00
k-nasa
feeb3c10df
fix: Remove Pin API related unsafe code
2019-10-24 08:41:01 +09:00
k-nasa
b17af61367
Merge branch 'master' into add_stream_timeout
2019-10-24 08:40:43 +09:00
Taiki Endo
2abf5ca891
Deny warnings on CI ( #378 )
...
* Deny warnings on CI
* Fix some clippy warnings
2019-10-23 20:20:59 +09:00
yjhmelody
f5a0a0ba86
fmt
2019-10-23 19:17:24 +08:00
yjhmelody
d6f940110b
update doc
2019-10-23 19:04:04 +08:00
yjhmelody
020eb85093
add stream::min_by_key method
2019-10-23 18:59:06 +08:00
Taiki Endo
944e43d4bf
Remove Pin API related unsafe code by using pin-project-lite cra… ( #381 )
2019-10-23 10:35:02 +01:00
yjhmelody
4e5828e646
add stream::max_by method
2019-10-23 16:46:11 +08:00
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`.
2019-10-22 20:30:27 -04:00