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
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Asynchronous Programming in Rust
2
2
3
-
This is the repository for the book: Asynchronous Programming in Rust - learn asynchronous programming from first principles.
3
+
This is the repository for the book: _Asynchronous Programming in Rust_.
4
4
5
5
Written by Carl Fredrik Samson, published by Packt
6
6
@@ -12,7 +12,7 @@ Each chapter has its own folder in this repository. Each example is organized as
12
12
13
13
When encountering examples in the book, you might find it easier to read the code in the repository since you'll be able to open it up in the editor of your choice and have appropriate highlighting and formatting.
14
14
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.
15
+
Even if you only write the examples directly 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
17
## Delayserver
18
18
@@ -21,11 +21,13 @@ Most of the examples will use a program called delayserver that's provided in th
21
21
You have two options for running the delayserver:
22
22
23
23
1. Go to the folder named `/delayserver` and write `cargo run` in a separate terminal window and leave it running there
24
-
2. Go to the delayserver and install the server by writing `cargo install --force --path .`. By doing so you install the program locally in you PATH so you can run it from any location by simply writing `delayserver` and leave the terminal process running.
24
+
2. Go to the same folder and install the server by writing `cargo install --force --path .`. By doing so you install the program locally in you PATH so you can run it from any location by simply writing `delayserver` and leave the terminal process running.
25
+
26
+
How delayserver works is described in the book, but you'll also find the relavant information in its root folder.
25
27
26
28
## Corofy
27
29
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 .`
30
+
Corofy is another tool that we'll use from chapter 7 onwards. I recommend installing this tool locally by entering the folder `ch7/corofy` and installing it on your machine by writing `cargo install --force --path .`
29
31
30
32
## I'll be going on a plane, how can I use the repository in an offline situation?
0 commit comments