2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-16 10:49:55 +00:00
Commit graph

568 commits

Author SHA1 Message Date
Shady Khalifa
bff10fe83b Stream::any implementation (#135)
* add stream::any method

* use `ret` macro and small improvements

* fix docs return type in `ret` macro
2019-09-01 19:58:16 +02:00
Yuki Okushi
532c73cf77 Fix typo in stability-guarantees.md (#136) 2019-08-31 16:15:26 +02:00
James Munns
e99eafe64f
Merge pull request #132 from shekohex/stream-all-method
Stream::all implementation
2019-08-31 13:10:02 +02:00
Jason Davies
a4d2cd1c82 Fix typo. (#134) 2019-08-31 11:36:34 +02:00
Shady Khalifa
e517c60fb1
remove comments 2019-08-30 20:32:03 +02:00
Shady Khalifa
e8860454e7
remove extra newline
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
2019-08-30 20:30:48 +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
Shady Khalifa
243a48c14e remove debug 2019-08-30 18:37:58 +02:00
Shady Khalifa
fe45ba5628 update docs and examples 2019-08-30 18:35:51 +02:00
Shady Khalifa
3b80165532 add stream::all method 2019-08-30 17:42:35 +02:00
Roman Proskuryakov
374f0c9eb8 Refactor TcpStream::connect into resolving loop and TcpStream::connect_to (#119) 2019-08-28 22:09:15 +02:00
James Munns
c6e4c659c4 Restore Version Sort (#121)
Since we only build the book on Linux for now, restore the `--version-sort` flag for gnu sort. This makes me feel better that when sorting numbering oddities (e.g. multiple digits) will be handled correctly.

This was removed when I was trying to get this script to work on Windows and OSX, which is no longer relevant.
2019-08-28 17:16:02 +02:00
Florian Gilcher
d89b384620
Merge pull request #116 from async-rs/install-mdbook-bin
Implement installation using trust
2019-08-27 10:30:08 -07:00
James Munns
192c9683d9 Correct boolean inversion and overrided env vars 2019-08-27 16:45:32 +02:00
James Munns
b39c720681 Only install mdbook if building the book 2019-08-27 16:41:31 +02:00
James Munns
b6c8186846 Don't use version sort (bsd sort doesn't seem to have it) 2019-08-27 16:06:51 +02:00
James Munns
e0212e5229 Don't install cargo-update at all 2019-08-27 15:59:28 +02:00
James Munns
f5823df70c Include modified trust file 2019-08-27 15:52:55 +02:00
James Munns
eba85c3ede Fix regex, also install cargo-update with trust 2019-08-27 15:33:46 +02:00
James Munns
de62620460 Implement installation using trust 2019-08-27 15:23:34 +02:00
Roman Proskuryakov
8dff8951a6 Reduce io::TimeoutFuture to futures_timer::TryFutureExt (#113) 2019-08-27 11:47:15 +02:00
Florian Gilcher
d501bf6849
Merge pull request #112 from async-rs/fix-101
Import HashMap visibly in the tutorial
2019-08-26 16:04:33 -07:00
Florian Gilcher
366546b9ce
Visibly import in tasks example
Fixes #97
2019-08-26 14:39:25 -07:00
Florian Gilcher
b768a7bab7
Don't trim msg twice
Fixes #102
2019-08-26 14:35:57 -07:00
Florian Gilcher
bfaa9c510c
Import HashMap visibly in the tutorial
Fixes #101
2019-08-26 14:33:11 -07:00
Florian Gilcher
5c17185464
Merge branch 'master' of github.com:async-std/async-std 2019-08-26 14:24:56 -07:00
Florian Gilcher
101979fcc3
Fix some final errors 2019-08-26 14:24:20 -07:00
Florian Gilcher
b2fc92e5d6
Merge branch 'book-test' of https://github.com/freebroccolo/async-std into freebroccolo-book-test 2019-08-26 14:12:22 -07:00
Florian Gilcher
a14b11c032
Merge pull request #111 from dfrankland/expose-fs-create_dir_all
Expose fs::create_dir_all
2019-08-26 13:38:00 -07:00
Florian Gilcher
23683363f2
Merge pull request #95 from kpp/add_tests_io_timeout
add tests for io::timeout
2019-08-26 13:37:38 -07:00
Dylan Frankland
d47f7d3e92 rustfmt fs::create_dir_all 2019-08-26 12:59:30 -07:00
Dylan Frankland
2fc6610d6d Update CHANGELOG.md 2019-08-26 12:54:55 -07:00
Dylan Frankland
c21e381098 Remove unused import from fs::create_dir_all 2019-08-26 12:50:06 -07:00
Dylan Frankland
8451789da5 Expose fs::create_dir_all 2019-08-26 12:47:15 -07:00
Florian Gilcher
dfd520c778
rustfmt all examples 2019-08-26 11:38:11 -07:00
Florian Gilcher
9370cd3298
Fix README example 2019-08-26 11:08:51 -07:00
Darin Morrison
06952b4c97 Test and build the book on travis 2019-08-25 04:34:41 -07:00
Darin Morrison
6302805b54 Fix book tests
[ci skip]
2019-08-25 04:34:41 -07:00
Darin Morrison
58e783b194 Add empty data.csv for book tests
[ci skip]
2019-08-25 04:33:30 -07:00
Darin Morrison
05a9bd1abd Enable "async-await" for futures-preview (select!)
[ci skip]
2019-08-25 04:33:30 -07:00
Oleksii Kachaiev
34802cae7e [docs] Make sure that "All Together" code compiles (#104)
Added missing `spawn_and_log_error` function declaration
2019-08-23 17:17:12 -07:00
Zach Kemp
6d6328a9c8 use broker_handle to avoid overloading the broker fn (#100) 2019-08-23 17:16:17 -07:00
Rui Loura
794c12fe7e Fix some typos in tutorial (#98)
* fix typo in tutorial

* add async_std::io::BufReader to tutorial code

* writers in clean_shutdown.md return unit type
2019-08-23 06:37:54 -07:00
Stjepan Glavina
be616f35bf
Update sending_messages.md 2019-08-22 23:56:13 +02:00
Stjepan Glavina
c61f4c8b81
Update receiving_messages.md 2019-08-22 23:17:52 +02:00
Florian Gilcher
c9d8b197ca
Add dependencies explanation to book 2019-08-22 07:53:32 -07:00
Florian Gilcher
393b72e4fc
Release version 0.99.4 2019-08-21 20:04:31 -07:00
Roman Proskuryakov
b95dd13d3b add tests for io::timeout 2019-08-21 22:22:16 +03:00
Florian Gilcher
2644089e49
Changelog for 0.99.4 2019-08-21 11:24:24 -07:00
Florian Gilcher
70769d8bac
Merge pull request #94 from async-rs/remove-async_await-gate
remove async_await feature gate
2019-08-21 11:17:28 -07:00