mirror of
https://git.alemi.dev/dashboard.git
synced 2024-11-26 17:34:49 +01:00
alemidev
6653024bad
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.
15 lines
266 B
Rust
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))),
|
|
);
|
|
}
|