Run ticks in a background thread in game_of_life
This commit is contained in:
parent
8fa9e4c94e
commit
916a1bfc70
2 changed files with 211 additions and 52 deletions
|
|
@ -7,5 +7,6 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
iced = { path = "../..", features = ["canvas", "tokio", "debug"] }
|
||||
tokio = { version = "0.2", features = ["blocking"] }
|
||||
itertools = "0.9"
|
||||
rustc-hash = "1.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue