web wasm ui

This commit is contained in:
Alexandr Bogomiakov
2025-07-24 08:24:51 +03:00
parent 626b152227
commit 8af35dca4f
17 changed files with 6766 additions and 18 deletions

View File

@@ -4,6 +4,8 @@ pub mod gui;
pub mod server;
#[cfg(feature = "web")]
pub mod web;
#[cfg(feature = "web-gui")]
pub mod web_gui;
use clap::Parser;
@@ -110,4 +112,8 @@ pub struct Args {
/// Basic auth string for client mode. Format: user:pass
#[arg(long, default_value = "", help = "Client mode: Basic Auth credentials")]
pub basic_auth: String,
}
}
// Re-export WASM functions for wasm-pack
#[cfg(all(target_arch = "wasm32", feature = "web-gui"))]
pub use web_gui::wasm::*;