Run ticks in a background thread in game_of_life

This commit is contained in:
Héctor Ramón Jiménez 2020-05-02 07:01:27 +02:00
parent 8fa9e4c94e
commit 916a1bfc70
2 changed files with 211 additions and 52 deletions

View file

@ -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"