60 lines
1.3 KiB
TOML
60 lines
1.3 KiB
TOML
|
|
[package]
|
||
|
|
name = "vapora-frontend"
|
||
|
|
version.workspace = true
|
||
|
|
edition.workspace = true
|
||
|
|
authors.workspace = true
|
||
|
|
license.workspace = true
|
||
|
|
repository.workspace = true
|
||
|
|
rust-version.workspace = true
|
||
|
|
|
||
|
|
[lib]
|
||
|
|
crate-type = ["cdylib", "rlib"]
|
||
|
|
|
||
|
|
[features]
|
||
|
|
csr = []
|
||
|
|
default = ["csr"]
|
||
|
|
|
||
|
|
[dependencies]
|
||
|
|
# Internal crates (disable backend features for WASM)
|
||
|
|
vapora-shared = { path = "../vapora-shared", default-features = false }
|
||
|
|
|
||
|
|
# Leptos framework (CSR mode only - no SSR)
|
||
|
|
leptos = { workspace = true, features = ["csr"] }
|
||
|
|
leptos_meta = { workspace = true }
|
||
|
|
leptos_router = { workspace = true }
|
||
|
|
|
||
|
|
# Serialization
|
||
|
|
serde = { workspace = true }
|
||
|
|
serde_json = { workspace = true }
|
||
|
|
|
||
|
|
# Error handling
|
||
|
|
anyhow = { workspace = true }
|
||
|
|
thiserror = { workspace = true }
|
||
|
|
|
||
|
|
# WASM support
|
||
|
|
wasm-bindgen = { workspace = true }
|
||
|
|
wasm-bindgen-futures = { workspace = true }
|
||
|
|
serde-wasm-bindgen = { workspace = true }
|
||
|
|
console_error_panic_hook = { workspace = true }
|
||
|
|
console_log = { workspace = true }
|
||
|
|
js-sys = { workspace = true }
|
||
|
|
web-sys = { workspace = true }
|
||
|
|
|
||
|
|
# Gloo
|
||
|
|
gloo-timers = { workspace = true }
|
||
|
|
gloo-net = { workspace = true }
|
||
|
|
|
||
|
|
# HTTP client
|
||
|
|
reqwasm = { workspace = true }
|
||
|
|
|
||
|
|
# Utilities
|
||
|
|
uuid = { workspace = true }
|
||
|
|
chrono = { workspace = true }
|
||
|
|
|
||
|
|
# Logging
|
||
|
|
tracing = { workspace = true }
|
||
|
|
log = { workspace = true }
|
||
|
|
|
||
|
|
[dev-dependencies]
|
||
|
|
wasm-bindgen-test = { workspace = true }
|