Move everything into workspace

This commit is contained in:
Michael Mikovsky
2026-01-26 09:13:46 -07:00
parent b619fb7a71
commit 5d6d746985
41 changed files with 5374 additions and 1105 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ use serde_json::json;
use std::sync::Arc;
use wasm_bindgen::prelude::Closure;
use unshell_lib::Result;
use unshell::Result;
#[derive(serde::Deserialize, serde::Serialize)]
pub struct Auth {
+4 -2
View File
@@ -1,7 +1,9 @@
use egui::{Color32, TextEdit};
use unshell_lib::config::{ConfigStructField, InterfaceData, InterfaceStruct, config_struct};
use unshell::config::{ConfigStructField, InterfaceData, InterfaceStruct, config_struct};
struct ConfigInterface(Config)
use crate::config::Config;
struct ConfigInterface(Config);
pub fn render(
ui: &mut egui::Ui,
+2 -3
View File
@@ -5,8 +5,7 @@ use std::{
sync::{Arc, Mutex},
};
use log::debug;
use unshell_lib::{Result, config::TreeMessage};
use unshell::{Result, config::TreeMessage};
use crate::auth::Auth;
@@ -106,7 +105,7 @@ impl InterfaceWindow {
&format!("/api/interface{}", self.path.display()),
&TreeMessage::State(interface_data.clone()),
move |response: Result<TreeMessage>| {
debug!("{response:?}");
// debug!("{response:?}");
},
)
.unwrap();
+2 -2
View File
@@ -1,7 +1,7 @@
#![warn(clippy::all, rust_2018_idioms)]
#![macro_use]
#[allow(unused_extern_crates)]
extern crate log;
// #[allow(unused_extern_crates)]
// extern crate log;
pub mod app;
mod auth;