From 916a1bfc7049867669b81f446e711021d92a4132 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 2 May 2020 07:01:27 +0200 Subject: Run ticks in a background thread in `game_of_life` --- examples/game_of_life/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/game_of_life/Cargo.toml') diff --git a/examples/game_of_life/Cargo.toml b/examples/game_of_life/Cargo.toml index 2b945c4c..b9bb7f2a 100644 --- a/examples/game_of_life/Cargo.toml +++ b/examples/game_of_life/Cargo.toml @@ -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" -- cgit