Skip to content

Commit cbb1cd8

Browse files
committed
Test solution to async Dining Philosophers
1 parent a88895c commit cbb1cd8

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

Cargo.lock

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ members = [
1010
"src/control-flow-basics",
1111
"src/error-handling",
1212
"src/concurrency/sync-exercises",
13+
"src/concurrency/async-exercises",
1314
"src/concurrency/async-exercises/chat-async",
1415
"src/generics",
1516
"src/iterators",
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[package]
2+
name = "async-exercises"
3+
version = "0.1.0"
4+
edition = "2021"
5+
publish = false
6+
7+
[[bin]]
8+
name = "dining-philosophers-async"
9+
path = "dining-philosophers.rs"
10+
11+
[dependencies]
12+
tokio = { version = "1.36.0", features = ["full"] }

0 commit comments

Comments
 (0)