Commit graph

81 commits

Author SHA1 Message Date
Stjepan Glavina
0924911ac3 Implement simple work stealing 2019-09-17 11:12:47 +02:00
bors[bot]
ee31f68e80
Merge #190 #200
190: Clean up the fs module and a few other places r=stjepang a=stjepang

Just a cleanup for various pieces of documentation, mainly around the `lib.rs` docs, the prelude, and the `fs` module. Some small bugs are also fixed along the way.

This PR is the first one in a series of review PRs that I will be submitting before the upcoming 1.0 release.

200: expose IoSlice, IoSliceMut r=stjepang a=yoshuawuyts

Exposes `io::IoSlice` and `io::IoSliceMut`. Given we're returning these from `read_vectored` and `write_vectored` it might make sense to just include them as part of our re-exports. Thanks!

Ref #131.

Co-authored-by: Stjepan Glavina <stjepang@gmail.com>
Co-authored-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-16 13:51:12 +00:00
Yoshua Wuyts
9c82d5e3f3
remove custom log tools in favor of macro crate
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-16 14:07:06 +02:00
Stjepan Glavina
a4381230b8 Clean up the fs module and a few other places 2019-09-14 01:24:31 +02:00
Yoshua Wuyts
55669f5ff4
Prepare release for 0.99.5
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-12 13:17:29 +02:00
James Munns
a8090be3eb Fix book to use futures_channel and futures_util, re-enable testing (#172)
* Fix book to use futures_channel and futures_util, re-enable testing

* Make dev dependencies for the book explicit
2019-09-10 12:54:06 +02:00
Yoshua Wuyts
be71ac9d76 update deps (#149)
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-08 12:56:25 +02:00
Stjepan Glavina
17c95a39d7
More robust file implementation
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-07 23:17:20 +02:00
Stjepan Glavina
bac74c2d7f
Reduce dependency on futures crate (#140)
* Add future::poll_fn

* Replace all uses of poll_fn with the new one

* Remove some uses of futures

* Simplify ReadDir and DirEntry

* Remove some use of futures from File

* Use futures subcrates

* Fix imports in docs

* Remove futures-util dependency

* Remove futures-executor-preview

* Refactor

* Require more features in the futures-preview crate
2019-09-05 01:22:41 +02:00
Stjepan Glavina
38a86766d3 Add future::timeout() (#20)
* Add future::timeout()

* Update src/future/timeout.rs

Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>

* Update src/future/timeout.rs

Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>

* Put futues::timeout behind unstable feature
2019-08-30 20:28:49 +02:00
Florian Gilcher
101979fcc3
Fix some final errors 2019-08-26 14:24:20 -07:00
Darin Morrison
05a9bd1abd Enable "async-await" for futures-preview (select!)
[ci skip]
2019-08-25 04:33:30 -07:00
Florian Gilcher
393b72e4fc
Release version 0.99.4 2019-08-21 20:04:31 -07:00
Sun
0156dc879b move surf to dev-dependencies (#84) 2019-08-19 22:24:13 -07:00
Stjepan Glavina
e9e3754402
Add Surf example (#78)
* Add Surf example

* Use a different osx image
2019-08-18 19:14:27 +02:00
James Munns
da8a5cef28 Add readme section to Cargo.toml (#47)
This allows crates.io to render the readme directly on the crate page
2019-08-16 19:59:57 +02:00
Florian Gilcher
e8e82c6b71
Remove surf example
Doesn't build on mac
2019-08-16 18:21:41 +02:00
Stjepan Glavina
6418bc9849 Fix failing docs 2019-08-16 17:39:49 +02:00
Stjepan Glavina
d21bac4663 Fix rustdoc args 2019-08-16 17:31:30 +02:00
Stjepan Glavina
3538b6b681 Fix rustdoc args 2019-08-16 17:24:44 +02:00
Stjepan Glavina
f4ff5443c8 Prepare for v0.99.0 2019-08-16 16:59:01 +02:00
Stjepan Glavina
62be014edc Bring back surf example 2019-08-15 17:07:55 +02:00
Taiki Endo
ca582a5ade Update urls 2019-08-15 19:57:20 +09:00
Florian Gilcher
f8633ab195
Fix git location 2019-08-14 17:56:05 +02:00
Stjepan Glavina
a2e54fcd29 Replace crossbeam with crossbeam-channel 2019-08-12 23:47:32 +02:00
Stjepan Glavina
08af9053d0 Fix broken build 2019-08-12 20:59:51 +02:00
Stjepan Glavina
1c16d8c462 Set git link for async-task dependency 2019-08-12 20:52:52 +02:00
Stjepan Glavina
7ecee80e4b Move async-task into a different repo 2019-08-12 20:29:32 +02:00
Stjepan Glavina
9d8ac36813 Rename feature docs.rs to docs 2019-08-12 19:50:30 +02:00
Stjepan Glavina
e44451a042 Revamp IO traits and Stream trait 2019-08-12 12:50:35 +02:00
Florian Gilcher
5b0a6269a9
Initial commit 2019-08-08 14:44:48 +02:00