Skip to content

Commit cacc043

Browse files
committed
fixup
2 parents bff4cbb + 455a34a commit cacc043

File tree

32 files changed

+120
-252
lines changed

32 files changed

+120
-252
lines changed

.DS_Store

-6 KB
Binary file not shown.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
target/
2-
Cargo.lock
2+
Cargo.lock
3+
.vscode
4+
.DS_Store

.vscode/settings.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Asynchronous Programming in Rust
22

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_.
44

55
Written by Carl Fredrik Samson, published by Packt
66

@@ -12,7 +12,7 @@ Each chapter has its own folder in this repository. Each example is organized as
1212

1313
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.
1414

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.
1616

1717
## Delayserver
1818

@@ -21,11 +21,13 @@ Most of the examples will use a program called delayserver that's provided in th
2121
You have two options for running the delayserver:
2222

2323
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.
2527

2628
## Corofy
2729

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 .`
2931

3032
## I'll be going on a plane, how can I use the repository in an offline situation?
3133

ch01/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Chapter 1 - Concurrency and Asynchronous Programming: A Detailed Overview
2+
3+
This folder contains the code examples for Chapter 1.

ch02/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Chapter 2 - How Programming Languages Model Asynchronous Program Flow
2+
3+
This folder contains the code examples for Chapter 2.

ch02/aa-os-threads/Cargo.toml renamed to ch02/a-os-threads/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "aa-os-threads"
2+
name = "a-os-threads"
33
version = "0.1.0"
44
edition = "2021"
55

File renamed without changes.

ch03/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Chapter 3 - Understanding OS-backed Event Queues, System Calls and Cross Platform Abstractions
2+
3+
This folder contains the code examples for Chapter 3.

ch03/a-raw-syscall/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "aa-raw-syscall"
2+
name = "a-raw-syscall"
33
version = "0.1.0"
44
edition = "2021"
55

0 commit comments

Comments
 (0)