Taiki Endo
24fb33e012
io: add AsyncReadExt::{chain, take} ( #1484 )
2019-08-20 20:09:07 -07:00
Taiki Endo
a791f4a758
chore: bump to newer nightly ( #1485 )
2019-08-20 20:07:16 -07:00
Taiki Endo
999a600494
io: add async BufReader/BufWriter ( #1438 )
2019-08-14 10:24:07 -07:00
Taiki Endo
930cce8677
chore: update futures-preview to 0.3.0-alpha.18 ( #1427 )
2019-08-10 14:09:28 -07:00
Taiki Endo
6a125082e4
chore: apply unreachable_pub and missing_debug_implementations to all crates ( #1424 )
2019-08-11 04:28:52 +09:00
Taiki Endo
d9f9c5658f
chore: bump to newer nightly ( #1426 )
2019-08-11 02:01:20 +09:00
Taiki Endo
fff39c03b1
ci: deny warnings in cirrus ( #1425 )
2019-08-11 01:41:51 +09:00
Taiki Endo
42fa0c28d3
timer: use std::sync::atomic::AtomicU64 instead of own AtomicU64 ( #1421 )
2019-08-10 03:42:03 +09:00
Taiki Endo
f7b41c9dcc
macros: improve error messages ( #1420 )
2019-08-09 10:28:22 -07:00
Taiki Endo
73102760cf
chore: change default lint level to warning and deny warnings in CI ( #1416 )
2019-08-10 00:07:57 +09:00
Taiki Endo
0bb015588a
codec: add AsyncBufRead/BufRead implementations ( #1385 )
...
* AsyncBufRead for FramedWrite2<T>
* BufRead for FramedWrite2<T>
* AsyncBufRead for Fuse<T, U>
* BufRead for Fuse<T, U>
2019-08-03 20:15:50 -07:00
Taiki Endo
6dda866191
tokio: re-enable StreamExt ( #1362 )
2019-07-30 09:55:34 -07:00
Taiki Endo
03e450deb1
sync: switch branch of loom dev-dependency to master ( #1367 )
...
* sync: switch branch of loom dev-dependency to master
* replace loom::fuzz with loom::model
2019-07-30 10:11:46 -04:00
Taiki Endo
fe021e6c00
ci: enable clippy lints ( #1335 )
2019-07-26 03:47:14 +09:00
Taiki Endo
ca0e5cc670
add TryFrom/From implementations ( #1347 )
...
* TryFrom<net::TcpListener> for TcpListener
* TryFrom<net::TcpStream> for TcpStream
* TryFrom<net::UdpSocket> for UdpSocket
* TryFrom<net::UnixDatagram> for UnixDatagram
* TryFrom<net::UnixListener> for UnixListener
* TryFrom<net::UnixStream> for UnixStream
* TryFrom<UnixDatagram> for mio_uds::UnixDatagram
* TryFrom<File> for io::File
* From<io::File> for File
2019-07-24 09:26:12 -07:00
Taiki Endo
e88d10a3cb
chore: bump to newer nightly ( #1338 )
2019-07-22 06:04:02 +09:00
Taiki Endo
9af07ce208
chore: remove redundant field names in struct literals ( #1334 )
2019-07-20 10:43:19 -07:00
Taiki Endo
1b2d997863
chore: use ptr::{null, null_mut} instead of 0 as *{const, mut} ( #1333 )
2019-07-20 10:41:02 -07:00
Taiki Endo
7a52ddcd09
chore: remove unnecessary conversion ( #1332 )
2019-07-20 12:10:42 -04:00
Taiki Endo
a88308ed9f
tokio: add AsyncReadExt::read_to_string ( #1326 )
2019-07-19 11:50:00 -07:00
Taiki Endo
b14e189e44
add #[must_use] to more futures and streams ( #1309 )
2019-07-15 13:28:56 -07:00
Taiki Endo
2dde2b448f
Fix import of ready macro
2019-07-15 11:52:13 -07:00
Taiki Endo
6742816e78
tokio: add AsyncBufReadExt::lines
2019-07-15 11:52:13 -07:00
Taiki Endo
ab040bb498
tokio: add AsyncBufReadExt::read_line
2019-07-15 11:52:13 -07:00
Taiki Endo
0cfa120ba8
tokio: add AsyncBufReadExt::read_until
2019-07-15 11:52:13 -07:00
Taiki Endo
5774a9cd64
io: add AsyncBufRead trait
2019-07-15 11:52:13 -07:00
Taiki Endo
ca708d6d87
chore: update rand dependency to 0.7 ( #1302 )
2019-07-15 10:13:10 -07:00
Taiki Endo
e5525628cd
chore: remove usage of deprecated ONCE_INIT ( #1281 )
2019-07-10 08:35:07 -07:00
Taiki Endo
7b86acb71d
chore: Update futures-preview to 0.3.0-alpha.17 ( #1267 )
2019-07-04 14:34:57 -07:00
Taiki Endo
ceed29586b
io: fix documents ( #1231 )
2019-07-01 20:44:12 -07:00
Taiki Endo
88b942652c
async-await: fix examples ( #1050 )
...
* Fix crate path in `Cargo.toml` of examples
* Add `edition2018` to examples in the documentation to make it compiled
on Rust 2018
* Fix an example in the documentation
2019-04-16 14:19:38 -04:00
Taiki Endo
5029e80a89
async-await: update to new futures_api ( #1049 )
2019-04-16 14:07:03 -04:00
Taiki Endo
599955f716
Replace try! macro with ? operator ( #1024 )
2019-04-01 13:45:59 -07:00
Taiki Endo
4985e0c608
async-await: update to new future/task API ( #919 )
...
- Rewrite noop_waker with items from the new API and replaces
LocalWaker with Waker.
- Bump the minimum required version for `tokio-async-await` to
1.34.0-nightly.
- `Unpin` was added to std prelude.
- Add `cargo check` to .travis.yml
Fixes : #908
2019-02-22 13:30:21 -08:00
Taiki Endo
9a8d087c69
Allow deprecated Error::cause ( #818 )
...
Error::cause is deprecated in Rust 1.33, but this allows Error::cause
until the minimum supported version of tokio is Rust 1.30.
When the minimum support version of tokio reaches Rust 1.30,
replace Error::cause with Error::source.
Fixes : #817
2019-01-02 14:12:11 -08:00