diff options
| author | Andrew Guschin <guschin@altlinux.org> | 2024-11-05 21:28:48 +0400 |
|---|---|---|
| committer | Andrew Guschin <guschin@altlinux.org> | 2024-11-05 21:28:48 +0400 |
| commit | 8117591bdbc5e168d91eac09316bc7e21068429b (patch) | |
| tree | 5b9dd8655b87e84e03df93a439ef82649a92dc4a /graph-checker/src/main.rs | |
| parent | 67b2ce202097c4ce0db3ea81df775405608d527f (diff) | |
wipui
Diffstat (limited to 'graph-checker/src/main.rs')
| -rw-r--r-- | graph-checker/src/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/graph-checker/src/main.rs b/graph-checker/src/main.rs index e73b23b..4297a6e 100644 --- a/graph-checker/src/main.rs +++ b/graph-checker/src/main.rs @@ -2,6 +2,7 @@ use rayon::prelude::*; use sqlx::{migrate::MigrateDatabase, Pool, Sqlite}; // use std::sync::{Arc, Mutex}; +use std::sync::mpsc; use std::time::Instant; use tokio; @@ -41,6 +42,8 @@ fn main() -> Result<(), sqlx::Error> { Ok::<Pool<Sqlite>, sqlx::Error>(db) })?; + let (tx, rx) = mpsc::channel(); + gui::run_gui(rt); // let gui_task = tokio::spawn(gui::run_gui()); println!("next"); |