csi-webclient 0.1.0

Desktop egui client for csi-webserver REST/WebSocket control and CSI stream monitoring
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use csi_webclient::app;

fn main() -> eframe::Result<()> {
    let mut options = eframe::NativeOptions::default();

    #[cfg(target_os = "macos")]
    {
        // Work around a macOS AppKit shutdown crash in the run_on_demand path.
        options.run_and_return = false;
    }

    eframe::run_native(
        "CSI Webserver Client",
        options,
        Box::new(|cc| Ok(Box::new(app::CsiClientApp::new(cc)))),
    )
}