summaryrefslogtreecommitdiffstats
path: root/tokio-fs
AgeCommit message (Collapse)Author
2019-09-19Release 0.2.0 alpha.5 (#1576)Carl Lerche
2019-09-19chore: deny warnings for doc tests (#1539)Taiki Endo
2019-09-13fs: propagate flush for stdout / stderr. (#1528)Jonathan Bastien-Filiatrault
2019-09-13chore: fix docs links (#1523)Geoff Shannon
2019-08-29prepare v0.2.0-alpha.4 (#1509)Sean McArthur
2019-08-28prepare v0.2.0-alpha.3 release (#1505)Carl Lerche
2019-08-27fs: add support for non-threadpool executors (#1495)Carl Lerche
Provides a thread pool dedicated to running blocking operations (#588) and update `tokio-fs` to use this pool. In an effort to make incremental progress, this is an initial step towards a final solution. First, it provides a very basic pool implementation with the intend that the pool will be replaced before the final release. Second, it updates `tokio-fs` to always use this blocking pool instead of conditionally using `threadpool::blocking`. Issue #588 contains additional discussion around potential improvements to the "blocking for all" strategy. The implementation provided here builds on work started in #954 and continued in #1045. The general idea is th same as #1045, but the PR improves on some of the details: * The number of explicit operations tracked by `File` is reduced only to the ones that could interact. All other ops are spawned on the blocking pool without being tracked by the `File` instance. * The `seek` implementation is not backed by a trait and `poll_seek` function. This avoids the question of how to model non-blocking seeks on top of a blocking file. In this patch, `seek` is represented as an `async fn`. If the associated future is dropped before the caller observes the return value, we make no effort to define the state in which the file ends up.
2019-08-20chore: bump to newer nightly (#1485)Taiki Endo
2019-08-18docs: add docs.rs metadata to build with all features (#1471)Ivan Petkov
2019-08-17chore: prepare 0.2.0-alpha.2 release (#1465)Carl Lerche
2019-08-15net: reorganize crate in anticipation of #1264 (#1453)Carl Lerche
Space is made to add `tcp`, `udp`, `uds`, ... modules.
2019-08-15tokio-fs: rewrite std echo example using async/await (#1442)Jakub Beránek
This PR fixes the echo example in tokio-fs. Refs: #1255
2019-08-15threadpool: move threadpool into tokio-executor (#1452)Carl Lerche
The threadpool is behind a feature flag. Refs: #1264
2019-08-10chore: update futures-preview to 0.3.0-alpha.18 (#1427)Taiki Endo
2019-08-11chore: apply unreachable_pub and missing_debug_implementations to all crates ↵Taiki Endo
(#1424)
2019-08-11chore: bump to newer nightly (#1426)Taiki Endo
2019-08-10chore: change default lint level to warning and deny warnings in CI (#1416)Taiki Endo
2019-08-08chore: prepare for v0.2.0-alpha.1 release (#1410)Lucio Franco
2019-08-07chore: enable full CI run (#1399)Carl Lerche
* update all tests * fix doc examples * misc API tweaks
2019-08-04fs: use async fn instead of custom futures (#1381)Carl Lerche
Also update all the doc examples.
2019-07-26ci: enable clippy lints (#1335)Taiki Endo
2019-07-24add TryFrom/From implementations (#1347)Taiki Endo
* 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-20chore: remove redundant field names in struct literals (#1334)Taiki Endo
2019-07-20chore: remove unnecessary conversion (#1332)Taiki Endo
2019-07-19chore: remove tokio-futures facade crate (#1327)Carl Lerche
This switches from using the tokio-futures facade to referencing futures-* crates directly.
2019-07-19fs: add `remove_dir_all` and `RemoveDirAllFuture` (#1325)Dylan Frankland
Adds the sister function to `remove_dir` and mirrors the `create_dir_all` that's already exposed.
2019-07-15fs: drop deprecated tempdir crate use in tests (#1312)David Kellum
In particular because it pulls in old rand duplicates. Replace use with tempfile::tempdir() which has been available since tempfile 3.0.0.
2019-07-15add #[must_use] to more futures and streams (#1309)Taiki Endo
2019-07-15chore: update rand dependency to 0.7 (#1302)Taiki Endo
2019-07-11fs: update to use `std::future` (#1269)andy finch
2019-05-14Update Tokio to Rust 2018 (#1082)Carl Lerche
2019-04-24chore: remember to remove path deps on release (#1057)Carl Lerche
2019-03-19chore: repo maintenance + no path dependencies (#991)Carl Lerche
- Move `tokio` into its own directory. - Remove `path` dependencies. - Run tests with once with crates.io dep and once with patched dep.
2019-03-01Bump Tokio to 0.1.16. (#941)Carl Lerche
Also bumps: * tokio-current-thread (0.1.5) * tokio-fs (0.1.6) * tokio-io (0.1.12) * tokio-reactor (0.1.9) * tokio-threadpool (0.1.12)
2019-02-21chore: apply rustfmt to all crates (#917)Carl Lerche
2019-02-20fs: fix tests (#916)Carl Lerche
2019-02-20Read write helpers (#896)Linus Färnstrand
Provides async versions of read / write helpers being stabilized in `std`.
2019-02-20fs: add CloneFuture for File::try_clone (#850)Kevin M Granger
2019-02-06Add a warning regarding the use of `Stdin` handles (#876)Andreas Rottmann
Also see the discussion on issue #589.
2019-01-06Bump version to 0.1.14. (#836)Carl Lerche
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.
2018-12-01fs: added usage examples/doctests to File (#786)Matt Gathu
2018-11-20tests: handle errors properly in examples (#748)Liran Ringel
2018-11-16chore: bump rand dependency to 0.6 (#753)Alex Gaynor
2018-11-16fs: add more tests (#755)Kazuyoshi Kato
Fixes #704.
2018-11-13fs: add tests for directory-related functions (#704) (#724)Kazuyoshi Kato
This change adds a few tests around directory-related functions.
2018-11-10fs: gen_ascii_chars has been deprecated (#735)Kazuyoshi Kato
Use sample_iter() instead.
2018-10-23Bump version to 0.1.12 (#718)Carl Lerche
Also bumps the following sub-crates: * tokio-fs (0.1.4) * tokio-io (0.1.10) * tokio-signal (0.2.6) * tokio-threadpool (0.1.8) * tokio-uds (0.2.3)
2018-10-17fs: expose fs::File::from_std() (#696)Ryan Dahl
2018-10-12fs: fix minor documentation error for MetadataFuture (#698)nickelc
2018-08-10Routine dependencies update (#533)Mateusz Mikuła
* Update dependencies * Replace deprecated tempdir with tempfile