From 6699b4cb33a6a10b7a7c282360cea6b23b719b55 Mon Sep 17 00:00:00 2001 From: KnifesmithCode Date: Wed, 3 Apr 2024 17:44:16 -0400 Subject: [PATCH] Use Tokio directly instead of Tauri in io.rs (#1087) --- theseus/src/util/io.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theseus/src/util/io.rs b/theseus/src/util/io.rs index 03484e987..fc23f1a4f 100644 --- a/theseus/src/util/io.rs +++ b/theseus/src/util/io.rs @@ -4,7 +4,7 @@ use std::{path::Path, io::Write}; use tempfile::NamedTempFile; -use tauri::async_runtime::spawn_blocking; +use tokio::task::spawn_blocking; #[derive(Debug, thiserror::Error)] pub enum IOError {