Repository navigation
Dual GUI Hosts Win32 and Iced
Every GUAP suite provides both an ultra-light native Windows Win32 interface and a cross-platform Iced interface powered by reusable components in guap-kit.
-
Virtualized
LVS_OWNERDATA+LVN_GETDISPINFO: Renders 25,000+ rows with instant scrolling over Remote Desktop (RDP), Hyper-V/VMware sessions, and elevated Administrator shells without WebView2, Chromium, or GPU acceleration. - Native System Integration: Supports DWM dark-mode titlebars, UxTheme styling, column header sort indicators, live quick-filter bars, and a synchronized JSON / hex-dump detail pane.
-
Headless Testable State (
default-features = false): Pure-RustWin32GridState,Win32TableHostConfig,format_hex_dump, andwrite_utf16_into_bufcompile cleanly withoutCOMCTL32.dlllinkage for cross-platform unit testing.
Important
Common Controls v6 Requirement: Crates enabling guap-gui-win32's default native-host feature link COMCTL32.dll v6 (TaskDialog, SetWindowSubclass, DefSubclassProc). Downstream *-win32 crates must embed a Microsoft.Windows.Common-Controls 6.0.0.0 app.manifest via build.rs for both binaries and test executables (preventing 0xc0000139 STATUS_ENTRYPOINT_NOT_FOUND).
-
Cross-Platform Parity: Compiles identically on Windows, Linux, and macOS, using GPU hardware acceleration (
wgpu) when available and falling back seamlessly totiny-skiaCPU software rasterization. -
IcedDataGrid: Paginated, filterable, sortable table grid with row selection, dark/light themes, export dialog wiring (guap-export), and an interactive detail JSON / raw hex inspector pane.
Both guap-gui-win32 and guap-gui-iced embed the shared 5-zone cockpit state machine (GuapShellState) backed by the SuiteWorkbenchHost trait (guap-table::shell):
-
SuiteWorkbenchHost::approve_mutating_card(&self, card_id: &str, actor: &str): Optional host hook (returnsOption<Result<ApprovalCardViewModel, String>>) invoked when an operator triggersGuapShellAction::ApproveCardin the AI/Approval Drawer. -
SuiteWorkbenchHost::undo_executed_card(&self, card_id: &str, actor: &str): Optional host hook invoked when an operator triggersGuapShellAction::UndoExecutedCardon anExecuted { can_undo: true, .. }Approval Card. -
Cockpit Guardrails: Both
guap-gui-win32("win32-operator") andguap-gui-iced("iced-operator") enforceeffective_policy()(ReadOnlyOnly/ForensicCaseLock/TargetEnvironment::UsbForensicsblock execution with-32003 SAFETY REFUSAL), validateRollbackContract::IrreversibleConfirmTokentyped confirmations, and map host execution results directly ontoApprovalCardViewModelstate (Pending,Executed,RolledBack,RefusedReadOnlyLock).
guap-kit (v0.1.0) • GUAP Ecosystem (guap.ca) • 5 Crates • Rust 2024 Edition (1.89+) • Apache-2.0 License • Repository • Security Policy