Commit Graph

1672 Commits (main)
 

Author SHA1 Message Date
Aleksey Kladov 5b96fa9daa move a-chat tutorial's code to this repo 5 years ago
DCjanus 238a3c882b Implement an async version of ToSocketAddrs (#74)
* Implement an async version of ToSocketAddrs

* fix documentation issue

* genius hack: pretending to be `impl Future`

* replace `std::net::ToSocketAddrs` with `async-std::net::ToSocketAddrs`

* Move unit tests into the tests directory

* Stylistic changes

* Remove re-exports in async_std::net

* fix broken link

* some mirror changes

* remove unnecessary format

* migrate: `std::net::ToSocketAddrs` -> `async_std::net::ToSocketAddrs`

* fix typo(tutorial)

* remove unnecessary type bound

* lifetime for future
5 years ago
Stjepan Glavina 1f7f318c36 Add bors.toml 5 years ago
Roman Proskuryakov dde4b89369 Make Travis cfg pretty and modular (#118) 5 years ago
Shady Khalifa bff10fe83b Stream::any implementation (#135)
* add stream::any method

* use `ret` macro and small improvements

* fix docs return type in `ret` macro
5 years ago
Yuki Okushi 532c73cf77 Fix typo in stability-guarantees.md (#136) 5 years ago
James Munns e99eafe64f
Merge pull request #132 from shekohex/stream-all-method
Stream::all implementation
5 years ago
Jason Davies a4d2cd1c82 Fix typo. (#134) 5 years ago
Shady Khalifa e517c60fb1
remove comments 5 years ago
Shady Khalifa e8860454e7
remove extra newline
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
5 years ago
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
5 years ago
Shady Khalifa 243a48c14e remove debug 5 years ago
Shady Khalifa fe45ba5628 update docs and examples 5 years ago
Shady Khalifa 3b80165532 add stream::all method 5 years ago
Roman Proskuryakov 374f0c9eb8 Refactor TcpStream::connect into resolving loop and TcpStream::connect_to (#119) 5 years ago
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.
5 years ago
Florian Gilcher d89b384620
Merge pull request #116 from async-rs/install-mdbook-bin
Implement installation using trust
5 years ago
James Munns 192c9683d9 Correct boolean inversion and overrided env vars 5 years ago
James Munns b39c720681 Only install mdbook if building the book 5 years ago
James Munns b6c8186846 Don't use version sort (bsd sort doesn't seem to have it) 5 years ago
James Munns e0212e5229 Don't install cargo-update at all 5 years ago
James Munns f5823df70c Include modified trust file 5 years ago
James Munns eba85c3ede Fix regex, also install cargo-update with trust 5 years ago
James Munns de62620460 Implement installation using trust 5 years ago
Roman Proskuryakov 8dff8951a6 Reduce io::TimeoutFuture to futures_timer::TryFutureExt (#113) 5 years ago
Florian Gilcher d501bf6849
Merge pull request #112 from async-rs/fix-101
Import HashMap visibly in the tutorial
5 years ago
Florian Gilcher 366546b9ce
Visibly import in tasks example
Fixes #97
5 years ago
Florian Gilcher b768a7bab7
Don't trim msg twice
Fixes #102
5 years ago
Florian Gilcher bfaa9c510c
Import HashMap visibly in the tutorial
Fixes #101
5 years ago
Florian Gilcher 5c17185464
Merge branch 'master' of github.com:async-std/async-std 5 years ago
Florian Gilcher 101979fcc3
Fix some final errors 5 years ago
Florian Gilcher b2fc92e5d6
Merge branch 'book-test' of https://github.com/freebroccolo/async-std into freebroccolo-book-test 5 years ago
Florian Gilcher a14b11c032
Merge pull request #111 from dfrankland/expose-fs-create_dir_all
Expose fs::create_dir_all
5 years ago
Florian Gilcher 23683363f2
Merge pull request #95 from kpp/add_tests_io_timeout
add tests for io::timeout
5 years ago
Dylan Frankland d47f7d3e92 rustfmt fs::create_dir_all 5 years ago
Dylan Frankland 2fc6610d6d Update CHANGELOG.md 5 years ago
Dylan Frankland c21e381098 Remove unused import from fs::create_dir_all 5 years ago
Dylan Frankland 8451789da5 Expose fs::create_dir_all 5 years ago
Florian Gilcher dfd520c778
rustfmt all examples 5 years ago
Florian Gilcher 9370cd3298
Fix README example 5 years ago
Darin Morrison 06952b4c97 Test and build the book on travis 5 years ago
Darin Morrison 6302805b54 Fix book tests
[ci skip]
5 years ago
Darin Morrison 58e783b194 Add empty data.csv for book tests
[ci skip]
5 years ago
Darin Morrison 05a9bd1abd Enable "async-await" for futures-preview (select!)
[ci skip]
5 years ago
Oleksii Kachaiev 34802cae7e [docs] Make sure that "All Together" code compiles (#104)
Added missing `spawn_and_log_error` function declaration
5 years ago
Zach Kemp 6d6328a9c8 use `broker_handle` to avoid overloading the `broker` fn (#100) 5 years ago
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
5 years ago
Stjepan Glavina be616f35bf
Update sending_messages.md 5 years ago
Stjepan Glavina c61f4c8b81
Update receiving_messages.md 5 years ago
Florian Gilcher c9d8b197ca
Add dependencies explanation to book 5 years ago