refactor:

- created dsa_tasks crate for task-specific functionality that doesn't belong in common.
This commit is contained in:
2026-08-01 01:44:57 +01:00
parent 27d38eaf89
commit 43f8340f0d
17 changed files with 44 additions and 16 deletions
-2
View File
@@ -1,7 +1,5 @@
pub mod asm;
pub mod isa;
pub mod process;
pub mod prelude {
pub use crate::isa::instructions::Instruction;
pub use crate::isa::register::Register;
+7
View File
@@ -0,0 +1,7 @@
[package]
name = "dsa_tasks"
edition.workspace = true
version.workspace = true
authors.workspace = true
[dependencies]
@@ -1,7 +1,6 @@
use std::fmt::Debug;
use std::sync::{mpsc, Arc};
use crate::process::AgentSink::{Callback, Channel};
use std::sync::{Arc, mpsc};
use crate::AgentSink::{Callback, Channel};
pub struct ProcessAgent {
sink: Arc<AgentSink>,
@@ -25,7 +24,7 @@ impl ProcessAgent {
}
}
enum AgentSink {
pub enum AgentSink {
Channel(mpsc::Sender<String>),
Callback(Box<dyn Fn(&str) + Send + Sync>)
}
+7
View File
@@ -0,0 +1,7 @@
[package]
name = "zxq5_egui"
edition.workspace = true
version.workspace = true
authors.workspace = true
[dependencies]
+10
View File
@@ -0,0 +1,10 @@
# zxq5_egui
A set of UI components for the egui UI framework that may be useful across all of my personal projects.
## Features
- buttons & labels styled to my personal liking, meant to achieve a clean modern look.
## TODO:
- File-tree for viewing files within a directory and performing simple directory operations from within the project.
- this will be useful for the DSA user interface and maybe for Worldcoder if I revive that project in the future.
View File
+2
View File
@@ -0,0 +1,2 @@
pub mod buttons;
pub mod tabs;
View File