Taiki Endo
fe021e6c00
ci: enable clippy lints ( #1335 )
2019-07-26 03:47:14 +09:00
Douman
59bc364a0e
macros: detect double test attribute ( #1336 )
2019-07-22 09:28:07 -07:00
Carl Lerche
32ceccb465
sync: add async APIs to oneshot and mpsc ( #1211 )
...
Adds:
- oneshot::Sender::close
- mpsc::Receiver::recv
- mpsc::Sender::send
Also renames `poll_next` to `poll_recv`.
Refs: #1210
2019-06-27 11:33:36 -07:00
Douman
0af05e7408
macros: allow configuring runtime used by main macro ( #1185 )
2019-06-27 10:40:21 -07:00
Yin Guanhao
6316aa1d0b
Update tokio-udp to use std-future ( #1199 )
2019-06-26 14:41:36 -04:00
Carl Lerche
dc5fa80a09
macros: re-export main
macro from tokio
( #1198 )
...
Includes minor fixes and a very basic example.
Fixes #1183
2019-06-25 20:14:21 -07:00
Carl Lerche
06c473e628
Update Tokio to use std::future
. ( #1120 )
...
A first pass at updating Tokio to use `std::future`.
Implementations of `Future` from the futures crate are updated to implement
`Future` from std. Implementations of `Stream` are moved to a feature flag.
This commits disables a number of crates that have not yet been updated.
2019-06-24 12:34:30 -07:00
Carl Lerche
cb4aea394e
Update Tokio to Rust 2018 ( #1082 )
2019-05-14 10:27:36 -07:00
Carl Lerche
4ef736b9d5
async-await: add current_thread::Runtime::block_on_async
( #1072 )
...
This function is used by the Tokio macros introduced by #1058 but was
omitted from the PR.
2019-04-30 19:55:22 -07:00
Carl Lerche
0e400af78c
Async/await polish ( #1058 )
...
A general refresh of Tokio's experimental async / await support.
2019-04-25 22:22:32 -04:00