2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-02-28 23:29:41 +00:00
Commit graph

25 commits

Author SHA1 Message Date
Oleksii Kachaiev
55ea367415 Rename server functions to follow *_loop convention (#139)
Rename: server -> accept_loop, client -> connection_loop, client_writer -> connection_writer_loop
2019-09-20 09:54:48 +03:00
Stjepan Glavina
0f4f0fb77e Fix a typo 2019-09-11 17:29:33 +02:00
Stjepan Glavina
ab1e2b403a Fix compilation errors on latest nightly 2019-09-11 17:17:20 +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
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
Aleksey Kladov
5b96fa9daa move a-chat tutorial's code to this repo 2019-09-04 21:25:54 +03:00
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
2019-09-04 20:09:49 +02: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
101979fcc3
Fix some final errors 2019-08-26 14:24:20 -07:00
Darin Morrison
6302805b54 Fix book tests
[ci skip]
2019-08-25 04:34:41 -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
Yoshua Wuyts
63ad786768
remove async_await feature gate
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-08-21 00:29:35 -07:00
Florian Gilcher
1fe8a28399
Merge branch 'master' into book-typos-and-small-edits 2019-08-18 11:34:26 +02:00
David Cook
392b6df7c2 Copyedits for the book 2019-08-17 00:41:37 -05:00
Daniel Carosone
9974ff692e markup and typo nits 2019-08-17 11:58:35 +10:00
Daniel Carosone
a41b87205d distributed massages are the best 2019-08-17 11:50:59 +10:00
skorgu
9e89e79113
Remove errant backticks 2019-08-16 16:48:34 -04:00
Florian Gilcher
9b583b358a
Book fixes 2019-08-16 20:04:14 +02:00
Florian Gilcher
d3c67148b7
Seperate the tutorial in multiple parts
Fix some typos
2019-08-15 15:20:29 +02:00