Taiki Endo
a791f4a758
chore: bump to newer nightly ( #1485 )
2019-08-20 20:07:16 -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
Carl Lerche
6cbe3d4f82
fs: use async fn instead of custom futures ( #1381 )
...
Also update all the doc examples.
2019-08-04 11:24:30 -07:00
andy finch
795e02f4c6
fs: update to use std::future ( #1269 )
2019-07-11 09:05:49 -07:00
Carl Lerche
cb4aea394e
Update Tokio to Rust 2018 ( #1082 )
2019-05-14 10:27:36 -07:00
Carl Lerche
0da649727c
fs: fix tests ( #916 )
2019-02-20 21:56:23 -08:00
Linus Färnstrand
1cf5f73651
Read write helpers ( #896 )
...
Provides async versions of read / write helpers being stabilized in `std`.
2019-02-20 14:38:49 -08:00
Kevin M Granger
ab206b976c
fs: add CloneFuture for File::try_clone ( #850 )
2019-02-20 12:25:50 -08:00
Kazuyoshi Kato
33a216e4c1
fs: add more tests ( #755 )
...
Fixes #704 .
2018-11-16 14:50:06 -08:00
Kazuyoshi Kato
d246964bdf
fs: gen_ascii_chars has been deprecated ( #735 )
...
Use sample_iter() instead.
2018-11-10 21:35:38 -05:00
Mateusz Mikuła
31f71dedee
Routine dependencies update ( #533 )
...
* Update dependencies
* Replace deprecated tempdir with tempfile
2018-08-10 12:37:45 -07:00
Laurențiu Nicola
3fecd0154c
Add an explicit wait for the test to finish ( #445 )
2018-06-22 14:07:02 -07:00
Laurențiu Nicola
ecfe2f6a05
tokio-fs: add tokio_fs::File::seek ( #434 )
2018-06-21 09:43:35 -07:00
Laurențiu Nicola
04a4bfd455
tokio-fs: add tokio_fs::metadata ( #433 )
2018-06-20 13:12:06 -07:00
Jake Goulding
b2f77dcebe
Add a dedicated Future for retrieving the metadata of a file ( #385 )
2018-06-18 16:00:43 -07:00
Carl Lerche
f768163982
Filesystem manipulation APIs. ( #323 )
...
This patch adds a new crate: tokio-fs. This crate provides a wrapper
around `std` functionality that can only be performed using blocking
operations. This primarily includes filesystem operations, but it also
includes standard input, output, and error access as these streams
cannot be safely switched to non-blocking mode in a portable way.
These wrappers call the `std` functions from within a `blocking`
annotation which allows the runtime to compensate for the fact that the
thread will potentially remain blocked in a system call.
2018-05-02 11:19:58 -07:00