Jon Gjengset
e6cf976662
tokio: include async-traits feature ( #1314 )
...
The `tokio` facade crate will depend on the `async-traits` feature flag in
sub crates.
2019-07-15 14:02:14 -07:00
Gurwinder Singh
83273b8b50
chore: use ready macro from futures-core ( #1300 )
2019-07-15 10:43:54 -07:00
Taiki Endo
7b86acb71d
chore: Update futures-preview to 0.3.0-alpha.17 ( #1267 )
2019-07-04 14:34:57 -07:00
Carl Lerche
3e898f58a5
tcp: add ascyc fn TcpListener::accept ( #1242 )
...
Refs: #1209
2019-07-03 09:49:56 -07:00
Yin Guanhao
7380dd2482
TcpSocket specialized split ( #1217 )
2019-06-28 23:36:49 -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
1b498e8aa2
Fix TCP poll_hup test ( #1106 )
...
This updates tests to track a fix applied in Mio. Previously, Mio
incorrectly fired HUP events. This was due to Mio mapping `RDHUP` to
HUP. The test is updated to correctly generate a HUP event.
Additionally, HUP events will be removed from all platforms except for
Linux. This is caused by the inability to reliably map kqueue events to
the epoll HUP behavior.
2019-05-24 14:08:07 -07:00
Carl Lerche
cb4aea394e
Update Tokio to Rust 2018 ( #1082 )
2019-05-14 10:27:36 -07:00
Carl Lerche
949adbb887
chore: remember to remove path deps on release ( #1057 )
2019-04-24 10:42:39 -07:00
Carl Lerche
cdde2e7a27
chore: repo maintenance + no path dependencies ( #991 )
...
- Move `tokio` into its own directory.
- Remove `path` dependencies.
- Run tests with once with crates.io dep and once with patched dep.
2019-03-19 14:58:59 -07:00
Carl Lerche
25e835c5b7
tcp: specify version for tokio dev dependency
...
This is required for publishing to crates.io
2019-01-06 23:31:24 -08:00
Carl Lerche
961aae41c4
Bump version to 0.1.14. ( #836 )
...
Also bumps:
* tokio-async-await (0.1.5)
* tokio-executor (0.1.6)
* tokio-fs (0.1.5)
* tokio-io (0.1.11)
* tokio-reactor (0.1.8)
* tokio-tcp (0.1.3)
* tokio-threadpool (0.1.10)
* tokio-tls (0.2.1)
* tokio-uds (0.2.5)
...and updates LICENSE files to 2019.
2019-01-06 23:25:55 -08:00
Matt Gathu
1cd0ebfc5e
tcp: add usage examples to TcpListener and TcpStream ( #775 )
...
Refs: https://github.com/rust-lang-nursery/wg-net/issues/54
2018-11-28 13:05:35 -05:00
Carl Lerche
cab9a44e01
Bump version to v0.1.9 ( #666 )
...
This also includes bumps to subcrates.
* tokio-async-await (0.1.4)
* tokio-codec (0.1.1)
* tokio-current-thread (0.1.2)
* tokio-executor (0.1.5)
* tokio-io (0.1.9)
* tokio-reactor (0.1.6)
* tokio-tcp (0.1.2)
* tokio-threadpool (0.1.7)
* tokio-timer (0.2.7)
2018-09-26 22:32:51 -07:00
Mateusz Mikuła
31f71dedee
Routine dependencies update ( #533 )
...
* Update dependencies
* Replace deprecated tempdir with tempfile
2018-08-10 12:37:45 -07:00
Carl Lerche
e964c4136c
Bump subcrate versions ( #524 )
...
* tokio-current-thread 0.1.1
* tokio-executor 0.1.3
* tokio-fs 0.1.3
* tokio-reactor 0.1.3
* tokio-tcp 0.1.1
* tokio-timer 0.2.5
2018-08-06 20:36:50 -07:00
Carl Lerche
7a2b5db15c
Remove futures2 feature from Cargo.toml files ( #334 )
...
Currently, the state of the futures2 integration is pretty broken. This
patch removes the feature flag, preventing users from trying to use it.
In the future, it can be brought back when the implementation is fixed.
2018-05-02 10:48:58 -07:00
Sam Rijs
415a786049
Fix unstable-futures feature flag propagation ( #261 )
2018-03-27 15:46:02 -07:00
Carl Lerche
9cffda59c9
Bump version to v0.1.4 ( #252 )
...
This also bumps:
* tokio-executor: v0.1.1
* tokio-reactor: v0.1.1
* tokio-threadpool: v0.1.1
2018-03-23 10:34:42 -07:00
Sam Rijs
923a80e098
Move tokio::net module into tokio tcp/udp crates ( #224 )
2018-03-14 09:38:59 -07:00