mirror of
https://git.alemi.dev/dashboard.git
synced 2024-11-14 03:49:19 +01:00
alemi
cbca9f99b3
this mostly has the objective of splitting fetching and visualizing, to be able to daemonize the fetching. I swapped out ureq for reqwest, brought in clap, removed rusqlite for full fledged sea_orm, added tokio. Created migrations in sea_orm to reflect current db schema. Moved data structures defititions out of app, and slimmed down gui code. Entities collections are mostly managed by background workers and made available with watch-channels to the main thread, which can always nonblockingly access data. This is cool but still has some sharp corners. Now plots don't refresh live but at specific interval. I plan to add synchronization channels later on tho.
33 lines
780 B
TOML
33 lines
780 B
TOML
[package]
|
|
name = "dashboard"
|
|
version = "0.3.4"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "dashboard_bin"
|
|
path = "src/main.rs"
|
|
|
|
[features]
|
|
web = ["chrono/wasmbind", "eframe/persistence"]
|
|
|
|
[dependencies]
|
|
rand = "0.8"
|
|
dirs = "4"
|
|
git-version = "0.3.5"
|
|
chrono = "0.4"
|
|
tracing = "0.1" # egui / eframe use tracing
|
|
tracing-subscriber = "0.3"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
csv = "1.1"
|
|
jql = { version = "4", default-features = false }
|
|
rfd = "0.9"
|
|
eframe = "0.19"
|
|
tokio = { version = "1", features = ["full"] }
|
|
clap = { version = "4", features = ["derive"] }
|
|
futures = "0.3"
|
|
sea-orm = { version = "0.10", features = [ "runtime-tokio-rustls", "sqlx-sqlite", "macros" ] }
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|