sshuttle-gui/src/main.rs

13 lines
540 B
Rust
Raw Normal View History

#![forbid(unsafe_code)]
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
#![warn(clippy::all, rust_2018_idioms)]
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] //Hide console window in release builds on Windows, this blocks stdout.
// When compiling natively:
#[cfg(not(target_arch = "wasm32"))]
fn main() {
let app = eframe_template::TemplateApp::default();
2021-05-10 11:40:49 -05:00
let native_options = eframe::NativeOptions::default();
eframe::run_native(Box::new(app), native_options);
}