Taiki Endo
a791f4a758
chore: bump to newer nightly ( #1485 )
2019-08-20 20:07:16 -07:00
Ivan Petkov
6d8d388dc5
docs: add docs.rs metadata to build with all features ( #1471 )
2019-08-18 11:11:46 -07:00
Carl Lerche
88b4ec84d7
chore: prepare 0.2.0-alpha.2 release ( #1465 )
2019-08-17 23:34:25 -07:00
Carl Lerche
f1f61a3b15
net: reorganize crate in anticipation of #1264 ( #1453 )
...
Space is made to add `tcp`, `udp`, `uds`, ... modules.
2019-08-15 15:04:21 -07:00
Jakub Beránek
d0a8e5d6f2
tokio-fs: rewrite std echo example using async/await ( #1442 )
...
This PR fixes the echo example in tokio-fs.
Refs: #1255
2019-08-15 13:10:17 -07:00
Carl Lerche
3b27dc31d2
threadpool: move threadpool into tokio-executor ( #1452 )
...
The threadpool is behind a feature flag.
Refs: #1264
2019-08-15 13:09:02 -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
73102760cf
chore: change default lint level to warning and deny warnings in CI ( #1416 )
2019-08-10 00:07:57 +09:00
Lucio Franco
50e5d401df
chore: prepare for v0.2.0-alpha.1 release ( #1410 )
2019-08-08 12:48:53 -07:00
Carl Lerche
962521f449
chore: enable full CI run ( #1399 )
...
* update all tests
* fix doc examples
* misc API tweaks
2019-08-07 20:02:13 -07: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
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
9af07ce208
chore: remove redundant field names in struct literals ( #1334 )
2019-07-20 10:43:19 -07:00
Taiki Endo
7a52ddcd09
chore: remove unnecessary conversion ( #1332 )
2019-07-20 12:10:42 -04:00
Carl Lerche
a99fa6e096
chore: remove tokio-futures facade crate ( #1327 )
...
This switches from using the tokio-futures facade to referencing
futures-* crates directly.
2019-07-19 13:11:46 -07:00
Dylan Frankland
12ce75f088
fs: add remove_dir_all
and RemoveDirAllFuture
( #1325 )
...
Adds the sister function to `remove_dir` and mirrors the `create_dir_all` that's already exposed.
2019-07-19 12:09:53 -07:00
David Kellum
0de3a69eb4
fs: drop deprecated tempdir crate use in tests ( #1312 )
...
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-15 15:32:33 -07:00
Taiki Endo
b14e189e44
add #[must_use] to more futures and streams ( #1309 )
2019-07-15 13:28:56 -07:00
Taiki Endo
ca708d6d87
chore: update rand dependency to 0.7 ( #1302 )
2019-07-15 10:13:10 -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
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
e28856cffe
Bump Tokio to 0.1.16. ( #941 )
...
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-03-01 21:04:43 -08:00
Carl Lerche
80162306e7
chore: apply rustfmt to all crates ( #917 )
2019-02-21 11:56:15 -08: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
Andreas Rottmann
ce2147d2b6
Add a warning regarding the use of Stdin
handles ( #876 )
...
Also see the discussion on issue #589 .
2019-02-06 21:20:15 -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
2283b63e9e
fs: added usage examples/doctests to File ( #786 )
2018-12-01 21:07:48 -05:00
Liran Ringel
9b1a45cc6a
tests: handle errors properly in examples ( #748 )
2018-11-20 11:10:36 -05:00
Alex Gaynor
d0963774a3
chore: bump rand dependency to 0.6 ( #753 )
2018-11-16 14:54:14 -08:00
Kazuyoshi Kato
33a216e4c1
fs: add more tests ( #755 )
...
Fixes #704 .
2018-11-16 14:50:06 -08:00
Kazuyoshi Kato
9153067d66
fs: add tests for directory-related functions ( #704 ) ( #724 )
...
This change adds a few tests around directory-related functions.
2018-11-13 18:28:52 -05:00
Kazuyoshi Kato
d246964bdf
fs: gen_ascii_chars has been deprecated ( #735 )
...
Use sample_iter() instead.
2018-11-10 21:35:38 -05:00
Carl Lerche
f929576f0e
Bump version to 0.1.12 ( #718 )
...
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-23 22:00:49 -07:00
Ryan Dahl
bffa3ed558
fs: expose fs::File::from_std() ( #696 )
2018-10-17 19:51:46 -04:00
nickelc
796fee6364
fs: fix minor documentation error for MetadataFuture ( #698 )
2018-10-12 12:41:19 -04: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
Brian Olsen
0490280d66
tokio-fs: Add async versions of most of std::fs ( #494 )
...
* create_dir
* create_dir_all
* hard_link
* read_dir
* read_link
* remove_dir
* remove_file
* rename
* set_permissions that works with path
* symlink_metadata
* symlink on unix
* symlink_dir on windows
* symlink_file on windows
2018-07-31 21:39:27 -07:00
David Kellum
491f15827b
General rustdoc improvements ( #450 )
...
* Normalize links to docs.rs/CRATE/M.N/...
docs.rs is smart enough to show docs for the latest M.N.P release when
M.N is used in the link. For example:
https://docs.rs/mio/0.6/mio/struct.Poll.html
..will show mio 0.6.14 and later docs. While using the `M.N.*`
(ASTERISK) syntax also works, `M.N` is the more common usage, so
standarize a few existing links to that format.
* Fix missing or malformed rustdoc links
* executor lib rustdoc minor format change
* Promote tokio-threadpool crate level comments to rustdoc
* Replace hidden tokio::executor::thread_pool docs with deprecation note
* Fix typo/simplify util module rustdoc
* Reuse some tokio::executor::thread_pool rustdoc for the crate
Relates to #421
2018-07-22 13:35:30 -07:00
Laurențiu Nicola
39c95d6206
tokio-fs: Bump version to 0.1.2 ( #469 )
...
* Add a couple of missing full stops in the documentation
2018-07-11 15:09:37 -07:00
David Kellum
35123f7ae4
Additional details for tokio-fs rustdoc ( #454 )
2018-07-11 12:13:16 -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
0440343a11
tokio-fs: add changelog for 0.1.2 ( #444 )
2018-06-22 14:06:50 -07:00