mirror of
https://git.alemi.dev/dashboard.git
synced 2024-11-14 03:49:19 +01:00
alemi
8e29b59c35
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.
25 lines
588 B
TOML
25 lines
588 B
TOML
[package]
|
|
name = "plotter"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[[bin]]
|
|
name = "plotter_bin"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
rand = "0.8"
|
|
chrono = { version = "0.4", features = ["wasmbind"] }
|
|
eframe = { version = "0.18", features = ["persistence"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
ehttp = "0.2.0"
|
|
# web:
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
console_error_panic_hook = "0.1.6"
|
|
tracing-wasm = "0.2"
|