dashboard/Cargo.toml
alemi 4466b792fd
build: added Trunk and template files for wasm
still doesn't compile but some steps in the right direction
2022-11-01 05:28:24 +01:00

39 lines
993 B
TOML

[package]
name = "dashboard"
version = "0.4.0"
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
serde = { version = "1", features = ["derive"] }
serde_json = "1"
csv = "1.1"
jql = { version = "4", default-features = false }
rfd = "0.9"
eframe = { version = "0.19", features = ["persistence"] }
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"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tracing-subscriber = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
tracing-wasm = "0.2"
# [profile.dev.package."*"]
# opt-level = 3