Yoshua Wuyts
4346386610
fix doc recursion limit
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-28 12:42:23 +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
e5675151b9
Merge pull request #364 from stjepang/optimize-flushing
...
Don't flush files if they weren't written to
2019-10-28 12:19:15 +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
Yoshua Wuyts
1baee98ead
Merge pull request #375 from sunjay/fromstream-pathbuf
...
Added Extend + FromStream for PathBuf
2019-10-28 10:34:48 +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
Florian Gilcher
ae41d45da6
Merge pull request #376 from AZanellato/typo-fixes
...
Typos and sentence structure fixes
2019-10-27 19:23:41 -07:00
Yoshua Wuyts
4cab868899
Merge pull request #394 from async-rs/link-types
...
backreference links for structs
2019-10-27 23:19:16 +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
fe49f2618f
fix clippy::redundant_clone
2019-10-27 20:34:44 +09:00
k-nasa
7fe2a1bbce
fix clippy::cognitive_complexity
2019-10-27 20:32:22 +09:00
k-nasa
7c293d37f7
fix clippy::comparison_chain
2019-10-27 20:32:22 +09:00
k-nasa
c9d958d309
$cargo fix -Z unstable-options --clippy --features unstable
2019-10-27 20:31:53 +09:00
Taiki Endo
6549b66ad2
run clippy check on beta & address clippy warnings
2019-10-27 03:28:20 +09:00
Taiki Endo
610c66e774
Remove usage of actions-rs/clippy-check
2019-10-27 02:22:26 +09:00
nasa
81e3cab00d
Change homepage link ( #389 )
2019-10-25 22:14:57 +01: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
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
2019-10-23 17:02:03 +01: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
Taiki Endo
944e43d4bf
Remove Pin API related unsafe code by using pin-project-lite cra… ( #381 )
2019-10-23 10:35:02 +01: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
Andre Zanellato
faad4c8c26
Sentence structure on notice
2019-10-21 19:50:57 -03:00
Andre Zanellato
88558eae6e
Typos and sentence structure fixes
2019-10-21 19:47:14 -03:00
Sunjay Varma
0d4a907335
Added Extend + FromStream for PathBuf
2019-10-20 19:18:37 -04:00
Stjepan Glavina
8bef2e9e95
Don't flush files if they weren't written to
2019-10-17 21:28:38 +02:00
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
2019-10-17 19:17:49 +02:00
Stjepan Glavina
46f0fb1c64
Make sure each invocation of block_on uses its own Parker ( #358 )
2019-10-17 11:52:42 +02:00
Taiki Endo
e405544ea0
Enable tests on CI ( #357 )
...
* Enable tests on CI
* Fix failed test
2019-10-17 07:06:29 +09:00
k-nasa
b58bd8d725
Merge branch 'add_stream_timeout' of https://github.com/k-nasa/async-std into add_stream_timeout
2019-10-16 23:08:23 +09:00
k-nasa
0a4073449b
doc: Add Stream::Timeout doc
2019-10-16 22:56:48 +09:00
k-nasa
c3f6f969c5
fix: Rename TimeoutStream to Timeout
2019-10-16 22:56:17 +09:00
Yoshua Wuyts
ca80ca981e
Merge pull request #338 from async-rs/draft-0.99.10
...
init 0.99.10 release
2019-10-16 15:32:12 +02:00
Yoshua Wuyts
802d4dfc3b
finalize changelog
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-16 15:24:35 +02:00
nasa
f1ed034600
Update src/stream/stream/mod.rs
...
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
2019-10-16 22:21:32 +09:00
Yoshua Wuyts
9ff0750d4d
Merge pull request #353 from async-rs/fix-printing
...
fix print macros
2019-10-16 15:07:33 +02:00
Yoshua Wuyts
6eb3ea2b21
Merge pull request #279 from montekki/fs-stream-repeat-with
...
Adds stream::repeat_with
2019-10-16 14:35:51 +02:00
Yoshua Wuyts
4d34a15363
fix macros, take II
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-16 14:35:10 +02:00
Yoshua Wuyts
822e4bc220
Merge branch 'master' into fs-stream-repeat-with
2019-10-16 14:26:20 +02:00
Yoshua Wuyts
6e0905d3ca
correctly mark stream::Merge as unstable ( #352 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-16 14:13:35 +02:00
k-nasa
10f32ca817
Fix TimeoutError
2019-10-16 20:21:45 +09:00
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
2019-10-16 13:14:54 +02:00
Stjepan Glavina
add6863185
Fix typos
2019-10-16 12:24:18 +02:00
Yoshua Wuyts
faff1f7370
task docs ( #346 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-16 10:28:14 +02:00
k-nasa
7a87dea085
feat: Add Stream::timeout
2019-10-16 15:31:40 +09:00
k-nasa
f00d32ee7d
Add TimeoutStream struct
2019-10-16 15:31:40 +09:00
Yoshua Wuyts
e986e7ba66
Merge pull request #345 from async-rs/io-docs
...
Io docs
2019-10-16 02:53:38 +02:00
Wouter Geraedts
6b00e5e66c
Implemented StreamExt::try_fold ( #344 )
2019-10-16 02:32:27 +02:00