├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .rustfmt.toml ├── LICENSE ├── README.md ├── book.toml ├── ci ├── dictionary.txt └── spellcheck.sh ├── examples ├── 01_02_why_async │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── 01_04_async_await_primer │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── 02_02_future_trait │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── 02_03_timer │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── 02_04_executor │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── 03_01_async_await │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── 05_01_streams │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── 05_02_iteration_and_concurrency │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── 06_02_join │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── 06_03_select │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── 07_05_recursion │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── 09_01_sync_tcp_server │ ├── 404.html │ ├── Cargo.toml │ ├── hello.html │ └── src │ │ └── main.rs ├── 09_02_async_tcp_server │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── 09_03_slow_request │ ├── 404.html │ ├── Cargo.toml │ ├── hello.html │ └── src │ │ └── main.rs ├── 09_04_concurrent_tcp_server │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── 09_05_final_tcp_server │ ├── 404.html │ ├── Cargo.toml │ ├── hello.html │ └── src │ │ └── main.rs └── Cargo.toml └── src ├── 01_getting_started ├── 01_chapter.md ├── 02_why_async.md ├── 03_state_of_async_rust.md └── 04_async_await_primer.md ├── 02_execution ├── 01_chapter.md ├── 02_future.md ├── 03_wakeups.md ├── 04_executor.md └── 05_io.md ├── 03_async_await └── 01_chapter.md ├── 04_pinning └── 01_chapter.md ├── 05_streams ├── 01_chapter.md └── 02_iteration_and_concurrency.md ├── 06_multiple_futures ├── 01_chapter.md ├── 02_join.md └── 03_select.md ├── 07_workarounds ├── 01_chapter.md ├── 02_err_in_async_blocks.md ├── 03_send_approximation.md ├── 04_recursion.md └── 05_async_in_traits.md ├── 08_ecosystem └── 00_chapter.md ├── 09_example ├── 00_intro.md ├── 01_running_async_code.md ├── 02_handling_connections_concurrently.md └── 03_tests.md ├── 12_appendix └── 01_translations.md ├── SUMMARY.md └── assets └── swap_problem.jpg /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/.gitignore -------------------------------------------------------------------------------- /.rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/.rustfmt.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/README.md -------------------------------------------------------------------------------- /book.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/book.toml -------------------------------------------------------------------------------- /ci/dictionary.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/ci/dictionary.txt -------------------------------------------------------------------------------- /ci/spellcheck.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/ci/spellcheck.sh -------------------------------------------------------------------------------- /examples/01_02_why_async/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/01_02_why_async/Cargo.toml -------------------------------------------------------------------------------- /examples/01_02_why_async/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/01_02_why_async/src/lib.rs -------------------------------------------------------------------------------- /examples/01_04_async_await_primer/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/01_04_async_await_primer/Cargo.toml -------------------------------------------------------------------------------- /examples/01_04_async_await_primer/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/01_04_async_await_primer/src/lib.rs -------------------------------------------------------------------------------- /examples/02_02_future_trait/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/02_02_future_trait/Cargo.toml -------------------------------------------------------------------------------- /examples/02_02_future_trait/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/02_02_future_trait/src/lib.rs -------------------------------------------------------------------------------- /examples/02_03_timer/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/02_03_timer/Cargo.toml -------------------------------------------------------------------------------- /examples/02_03_timer/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/02_03_timer/src/lib.rs -------------------------------------------------------------------------------- /examples/02_04_executor/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/02_04_executor/Cargo.toml -------------------------------------------------------------------------------- /examples/02_04_executor/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/02_04_executor/src/lib.rs -------------------------------------------------------------------------------- /examples/03_01_async_await/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/03_01_async_await/Cargo.toml -------------------------------------------------------------------------------- /examples/03_01_async_await/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/03_01_async_await/src/lib.rs -------------------------------------------------------------------------------- /examples/05_01_streams/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/05_01_streams/Cargo.toml -------------------------------------------------------------------------------- /examples/05_01_streams/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/05_01_streams/src/lib.rs -------------------------------------------------------------------------------- /examples/05_02_iteration_and_concurrency/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/05_02_iteration_and_concurrency/Cargo.toml -------------------------------------------------------------------------------- /examples/05_02_iteration_and_concurrency/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/05_02_iteration_and_concurrency/src/lib.rs -------------------------------------------------------------------------------- /examples/06_02_join/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/06_02_join/Cargo.toml -------------------------------------------------------------------------------- /examples/06_02_join/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/06_02_join/src/lib.rs -------------------------------------------------------------------------------- /examples/06_03_select/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/06_03_select/Cargo.toml -------------------------------------------------------------------------------- /examples/06_03_select/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/06_03_select/src/lib.rs -------------------------------------------------------------------------------- /examples/07_05_recursion/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/07_05_recursion/Cargo.toml -------------------------------------------------------------------------------- /examples/07_05_recursion/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/07_05_recursion/src/lib.rs -------------------------------------------------------------------------------- /examples/09_01_sync_tcp_server/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_01_sync_tcp_server/404.html -------------------------------------------------------------------------------- /examples/09_01_sync_tcp_server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_01_sync_tcp_server/Cargo.toml -------------------------------------------------------------------------------- /examples/09_01_sync_tcp_server/hello.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_01_sync_tcp_server/hello.html -------------------------------------------------------------------------------- /examples/09_01_sync_tcp_server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_01_sync_tcp_server/src/main.rs -------------------------------------------------------------------------------- /examples/09_02_async_tcp_server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_02_async_tcp_server/Cargo.toml -------------------------------------------------------------------------------- /examples/09_02_async_tcp_server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_02_async_tcp_server/src/main.rs -------------------------------------------------------------------------------- /examples/09_03_slow_request/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_03_slow_request/404.html -------------------------------------------------------------------------------- /examples/09_03_slow_request/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_03_slow_request/Cargo.toml -------------------------------------------------------------------------------- /examples/09_03_slow_request/hello.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_03_slow_request/hello.html -------------------------------------------------------------------------------- /examples/09_03_slow_request/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_03_slow_request/src/main.rs -------------------------------------------------------------------------------- /examples/09_04_concurrent_tcp_server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_04_concurrent_tcp_server/Cargo.toml -------------------------------------------------------------------------------- /examples/09_04_concurrent_tcp_server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_04_concurrent_tcp_server/src/main.rs -------------------------------------------------------------------------------- /examples/09_05_final_tcp_server/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_05_final_tcp_server/404.html -------------------------------------------------------------------------------- /examples/09_05_final_tcp_server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_05_final_tcp_server/Cargo.toml -------------------------------------------------------------------------------- /examples/09_05_final_tcp_server/hello.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_05_final_tcp_server/hello.html -------------------------------------------------------------------------------- /examples/09_05_final_tcp_server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/09_05_final_tcp_server/src/main.rs -------------------------------------------------------------------------------- /examples/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/examples/Cargo.toml -------------------------------------------------------------------------------- /src/01_getting_started/01_chapter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/01_getting_started/01_chapter.md -------------------------------------------------------------------------------- /src/01_getting_started/02_why_async.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/01_getting_started/02_why_async.md -------------------------------------------------------------------------------- /src/01_getting_started/03_state_of_async_rust.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/01_getting_started/03_state_of_async_rust.md -------------------------------------------------------------------------------- /src/01_getting_started/04_async_await_primer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/01_getting_started/04_async_await_primer.md -------------------------------------------------------------------------------- /src/02_execution/01_chapter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/02_execution/01_chapter.md -------------------------------------------------------------------------------- /src/02_execution/02_future.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/02_execution/02_future.md -------------------------------------------------------------------------------- /src/02_execution/03_wakeups.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/02_execution/03_wakeups.md -------------------------------------------------------------------------------- /src/02_execution/04_executor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/02_execution/04_executor.md -------------------------------------------------------------------------------- /src/02_execution/05_io.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/02_execution/05_io.md -------------------------------------------------------------------------------- /src/03_async_await/01_chapter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/03_async_await/01_chapter.md -------------------------------------------------------------------------------- /src/04_pinning/01_chapter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/04_pinning/01_chapter.md -------------------------------------------------------------------------------- /src/05_streams/01_chapter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/05_streams/01_chapter.md -------------------------------------------------------------------------------- /src/05_streams/02_iteration_and_concurrency.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/05_streams/02_iteration_and_concurrency.md -------------------------------------------------------------------------------- /src/06_multiple_futures/01_chapter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/06_multiple_futures/01_chapter.md -------------------------------------------------------------------------------- /src/06_multiple_futures/02_join.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/06_multiple_futures/02_join.md -------------------------------------------------------------------------------- /src/06_multiple_futures/03_select.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/06_multiple_futures/03_select.md -------------------------------------------------------------------------------- /src/07_workarounds/01_chapter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/07_workarounds/01_chapter.md -------------------------------------------------------------------------------- /src/07_workarounds/02_err_in_async_blocks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/07_workarounds/02_err_in_async_blocks.md -------------------------------------------------------------------------------- /src/07_workarounds/03_send_approximation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/07_workarounds/03_send_approximation.md -------------------------------------------------------------------------------- /src/07_workarounds/04_recursion.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/07_workarounds/04_recursion.md -------------------------------------------------------------------------------- /src/07_workarounds/05_async_in_traits.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/07_workarounds/05_async_in_traits.md -------------------------------------------------------------------------------- /src/08_ecosystem/00_chapter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/08_ecosystem/00_chapter.md -------------------------------------------------------------------------------- /src/09_example/00_intro.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/09_example/00_intro.md -------------------------------------------------------------------------------- /src/09_example/01_running_async_code.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/09_example/01_running_async_code.md -------------------------------------------------------------------------------- /src/09_example/02_handling_connections_concurrently.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/09_example/02_handling_connections_concurrently.md -------------------------------------------------------------------------------- /src/09_example/03_tests.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/09_example/03_tests.md -------------------------------------------------------------------------------- /src/12_appendix/01_translations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/12_appendix/01_translations.md -------------------------------------------------------------------------------- /src/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/SUMMARY.md -------------------------------------------------------------------------------- /src/assets/swap_problem.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masan4444/async-book-ja/HEAD/src/assets/swap_problem.jpg --------------------------------------------------------------------------------