mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-09 06:47:59 -06:00
Move everything into workspace
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user