From 372bc5b09c50cf2440e8f7762dd260cefd7bba7f Mon Sep 17 00:00:00 2001 From: Sakarias Johansson Date: Thu, 5 Jan 2023 19:26:18 +0100 Subject: =?UTF-8?q?=E2=9A=A1=20Prepare=20asyncness?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Creating a bunch of futures that when completed get the buffers copied to the screen buffer updating the screen as it gets done. It's a bit overkill to create a future per row but it can be changed later. Moved hsv_to_rgb to utils. Don't even think it will be needed later. --- racer-tracer/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'racer-tracer/Cargo.toml') diff --git a/racer-tracer/Cargo.toml b/racer-tracer/Cargo.toml index e764f79..a147cfe 100644 --- a/racer-tracer/Cargo.toml +++ b/racer-tracer/Cargo.toml @@ -8,3 +8,4 @@ edition = "2021" minifb = "0.23" tokio = { version = "1.14.0", features = ["macros", "rt", "rt-multi-thread"] } thiserror = "1" +futures = "0.3" -- cgit v1.2.3