All checks were successful
Build MIPS Binary / build (push) Successful in 5m18s
- Create frontend/src/api/mod.rs with centralized HTTP client and error handling - Implement api::auth module (login, logout, check_auth, get_user) - Implement api::torrent module (add, action, delete, start, stop, set_label, set_priority) - Implement api::setup module (get_status, setup) - Implement api::settings module (set_global_limits) - Implement api::push module (get_public_key, subscribe) - Update all components to use api service layer instead of direct gloo_net calls - Add thiserror dependency for error handling
34 lines
1.3 KiB
TOML
34 lines
1.3 KiB
TOML
[package]
|
|
name = "frontend"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
leptos = { version = "0.6", features = ["csr"] }
|
|
leptos_router = { version = "0.6", features = ["csr"] }
|
|
|
|
console_error_panic_hook = "0.1"
|
|
console_log = "1"
|
|
log = "0.4"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
gloo-net = "0.5"
|
|
gloo-timers = { version = "0.3", features = ["futures"] }
|
|
wasm-bindgen = "0.2"
|
|
wasm-bindgen-futures = "0.4"
|
|
uuid = { version = "1", features = ["v4", "js"] }
|
|
futures = "0.3"
|
|
chrono = { version = "0.4", features = ["serde", "wasm-bindgen"] }
|
|
web-sys = { version = "0.3", features = ["HtmlDivElement", "HtmlUListElement", "HtmlLiElement", "HtmlAnchorElement", "MouseEvent", "Event", "Window", "Document", "Element", "DomTokenList", "CssStyleDeclaration", "Storage", "TouchEvent", "TouchList", "Touch", "Navigator", "Notification", "NotificationOptions", "NotificationPermission", "ServiceWorkerContainer", "ServiceWorkerRegistration", "PushManager", "PushSubscription", "PushSubscriptionOptions", "PushSubscriptionOptionsInit", "HtmlDetailsElement"] }
|
|
shared = { path = "../shared" }
|
|
tailwind_fuse = "0.3.2"
|
|
js-sys = "0.3.85"
|
|
base64 = "0.22.1"
|
|
serde-wasm-bindgen = "0.6.5"
|
|
leptos-use = "0.13"
|
|
codee = "0.2"
|
|
thiserror = "2.0"
|