add chart

This commit is contained in:
Plucky
2024-07-11 10:52:50 +08:00
parent ece4da545a
commit 1d02ce5e43
26 changed files with 954 additions and 481 deletions

View File

@@ -6,13 +6,25 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dioxus = {version = "0.5", features = ["web", "router"]} #"fermi"
dioxus = {version = "0.5", features = ["web", "router"]}
console_error_panic_hook = "0.1"
dioxus-html-macro = "0.3"
dioxus-sdk = "*"
tracing = "0"
tracing-wasm = "0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = {version = "1", features = ["time"]}
[target.'cfg(target_arch = "wasm32")'.dependencies]
async-std = "1"
instant = {version = "^0.1", features = ["wasm-bindgen"]}
[profile.release]
opt-level = 'z'
lto = true