bascule-oss/crates/bascule-dashboard-web/Cargo.toml
Tyler King 04dd74d15f feat: Dioxus dashboard — session analytics + WASM web target
New crates:
  bascule-dashboard — shared Dioxus component library
    SessionTable: live active sessions with auth/backend/TPM status
    StatsCards: active count, 24h total, TPM attested %, failed auth
    StatusBar: connection health indicator
    types.rs: DashboardSession, DashboardStats, HealthResponse

  bascule-dashboard-web — WASM web target (Dioxus 0.6 + web features)
    Compiles to wasm32-unknown-unknown
    Dark-first CSS (light mode via prefers-color-scheme)
    Monospace data display, clean stat cards

  bascule-core/store.rs — in-memory session store
    SessionStore with active sessions + aggregate stats
    Updated via SessionHandler hooks

Both dashboard library and web WASM target compile clean.
Server and shell builds unaffected. Zero substrate deps.

Signed-off-by: Tyler King <tking@guildhouse.dev>
2026-04-05 14:10:01 -04:00

12 lines
357 B
TOML

[package]
name = "bascule-dashboard-web"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "Bascule dashboard — web (WASM) target"
[dependencies]
bascule-dashboard = { path = "../bascule-dashboard" }
dioxus = { version = "0.6", features = ["web"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"