You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,6 @@ When encountering examples in the book, you might find it easier to read the cod
14
14
15
15
Even if you prefer to write the examples from the book line by line, you'll need the repository for `delayserver` and `corofy` which is two tools I wrote to help in the learning process.
16
16
17
-
## I'll be going on a plane, how can I use the repository in an offline situation?
18
-
19
-
You'll need to install both `delayserver` and `corofy` locally on your machine while you're online. The process is described below.
20
-
21
-
Most of the examples have no external dependencies, but from chapter 6 onwards
22
-
we will have some of them. The best way to be able to run these examples while offline is to enter each folder and use [cargo vendor](https://doc.rust-lang.org/cargo/commands/cargo-vendor.html) to vendor the dependencies locally. This way you'll be able to build and experiment with the examples even though you'll be offline.
23
-
24
17
## Delayserver
25
18
26
19
Most of the examples will use a program called delayserver that's provided in this repository. Delayserver is a simple local webserver where you can write a HTTP GET request with a configurable delay.
@@ -34,4 +27,13 @@ You have two options for running the delayserver:
34
27
35
28
Corofy is another tool that we'll use from chapter 7 onwards. I recommend installing this tool by entering the folder `ch7/corofy` and installing it on your machine by writing `cargo install --force --path .`
36
29
30
+
## I'll be going on a plane, how can I use the repository in an offline situation?
31
+
32
+
You'll need to install both `delayserver` and `corofy` locally on your machine while you're online. The process is described below.
33
+
34
+
Most of the examples have no external dependencies, but from chapter 6 onwards
35
+
we will have some of them. The best way to be able to run these examples while offline is to enter each folder and use [cargo vendor](https://doc.rust-lang.org/cargo/commands/cargo-vendor.html) to vendor the dependencies locally. This way you'll be able to build and experiment with the examples even though you'll be offline.
36
+
37
+
----
38
+
37
39
Asynchronous Programming in Rust, published by Packt
0 commit comments