dashboard/src/main.rs
alemidev 6653024bad
feat: committing current state
Committing current state, which is a simple full
screen plot with some basic features. It compiles
for both native and web. There's a basic generic
datasource impl. It currently plots random data for demo.
2022-06-03 02:03:37 +02:00

15 lines
266 B
Rust

mod app;
use app::App;
// When compiling natively:
#[cfg(not(target_arch = "wasm32"))]
fn main() {
let native_options = eframe::NativeOptions::default();
eframe::run_native(
"2b2t queue stats",
native_options,
Box::new(|cc| Box::new(App::new(cc))),
);
}