[package] name = "sccache-dash-ui" description = "Dashboard page for sccache-dash" version.workspace = true edition.workspace = true license.workspace = true [dependencies] sccache-dash-api = { path = "../api" } serde = { version = "1", features = ["derive"] } serde_json = "1" # The page is drawn with eframe in the browser for now. A native window would # open the same `Dashboard`, and needs eframe here with its x11 and wayland features. [target.'cfg(target_arch = "wasm32")'.dependencies] eframe = { version = "0.37", default-features = false, features = [ "default_fonts", "glow", "persistence", ] } egui_plot = "0.38" ehttp = "0.7" wasm-bindgen = "0.2" wasm-bindgen-futures = "0.4" js-sys = "0.3" web-sys = { version = "0.3", features = [ "Document", "Element", "HtmlAnchorElement", "HtmlCanvasElement", "Window", ] }