cc97fb8a5f
Suppress deprecated warnings for spin_loop_hint ( #3497 )
...
* Suppress deprecated warnings for spin_loop_hint
* Update tokio/src/loom/std/mod.rs
Co-authored-by: Taiki Endo <[email protected] >
* Update tokio/src/sync/task/atomic_waker.rs
Co-authored-by: Taiki Endo <[email protected] >
* fmt
Co-authored-by: Taiki Endo <[email protected] >
2021-02-01 15:55:21 +03:00
Artem Vorotnikov and GitHub
06c7e73e99
stream: fix StreamMap Default bound ( #3093 )
2020-11-03 09:09:05 +01:00
Artem Vorotnikov and Carl Lerche
0545b349e1
stream: add StreamExt::fold() ( #2122 )
2020-01-23 09:03:10 -08:00
Artem Vorotnikov and Lucio Franco
476bf0084a
chore: minor fixes ( #2121 )
...
* One more clippy fix, remove special instructions from CI
* Fix Collect description
2020-01-16 10:29:02 -05:00
Artem Vorotnikov and Carl Lerche
bd8971cd95
chore: clippy fixes ( #2110 )
2020-01-14 15:12:08 -08:00
Artem Vorotnikov and Lucio Franco
ffd4025fce
chore: prepare tokio-macros v0.2.2 release ( #2068 )
2020-01-07 16:44:27 -05:00
Artem Vorotnikov and Carl Lerche
3540c5b9ee
stream: Add StreamExt::any ( #2034 )
2020-01-06 10:26:53 -08:00
Artem Vorotnikov and Carl Lerche
3736467dbb
stream: correct trait bounds for all ( #2043 )
2020-01-02 15:03:53 -08:00
Artem Vorotnikov and Carl Lerche
e43f28f6a8
macros: do not automatically pull rt-core ( #2038 )
2020-01-02 11:22:15 -08:00
Artem Vorotnikov and Lucio Franco
3cf91db4b6
stream: add StreamExt::all ( #2035 )
2020-01-02 11:36:38 -05:00
Artem Vorotnikov and Lucio Franco
e8fcf55881
Refactor proc macros, add more knobs ( #2022 )
...
* Refactor proc macros, add more knobs
* make macros work with rt-core
2019-12-27 13:56:43 -05:00
Artem Vorotnikov and Carl Lerche
a515f9c459
stream: add StreamExt::take_while ( #2029 )
2019-12-25 12:48:02 -08:00
Artem Vorotnikov and Carl Lerche
101f770af3
stream: add StreamExt::take ( #2025 )
2019-12-24 08:20:02 -08:00
Artem Vorotnikov and Carl Lerche
8656b7b8eb
chore: fix formatting, remove old rustfmt.toml ( #2007 )
...
`cargo fmt` has a bug where it does not format modules scoped with
feature flags.
2019-12-21 12:28:57 -08:00
Artem Vorotnikov and Lucio Franco
b1266a48c4
Fix UdpFramed doc cfg_attr ( #2010 )
2019-12-21 12:04:30 -05:00
Artem Vorotnikov and Carl Lerche
3dcd76a38f
stream: StreamExt::try_next ( #2005 )
2019-12-20 21:27:14 -08:00
Artem Vorotnikov and Carl Lerche
3b9c7b1715
stream: filtering utilities ( #2001 )
...
Adds `StreamExt::filter` and `StreamExt::filter_map`.
2019-12-20 20:17:05 -08:00
Artem Vorotnikov and Carl Lerche
3bff5a3ffe
chore: formatting, docs and clippy ( #2000 )
2019-12-20 13:54:43 -08:00
Artem Vorotnikov and Carl Lerche
4c645866ef
stream: add next and map utility fn ( #1962 )
...
Introduces `StreamExt` trait. This trait will be used to add utility functions
to make working with streams easier. This patch includes two functions:
* `next`: a future returning the item in the stream.
* `map`: transform each item in the stream.
2019-12-18 11:57:22 -08:00
Artem Vorotnikov and Carl Lerche
4b85565bd7
time: stream throttle ( #1949 )
2019-12-13 22:06:41 -08:00
Artem Vorotnikov and Carl Lerche
d593c5b051
chore: remove benches and fix/work around clippy lints ( #1952 )
2019-12-13 22:01:47 -08:00
Artem Vorotnikov and Sean McArthur
cbe369a3ed
Make JoinError Sync ( #1888 )
...
* Make JoinError Sync
* Move Mutex inside JoinError internals, hide its constructors
* Deprecate JoinError constructors, fix internal usages
2019-12-04 10:51:23 -08:00
Artem Vorotnikov and Carl Lerche
8e83a9f2c3
chore: replace Gitter badge with Discord ( #1828 )
2019-11-26 16:00:38 -08:00