diff --git a/quotesdb/Cargo.toml b/quotesdb/Cargo.toml index 4a38793..5f8126d 100644 --- a/quotesdb/Cargo.toml +++ b/quotesdb/Cargo.toml @@ -47,6 +47,18 @@ worker = { version = "0.5", features = ["d1"] } # Entropy source for WASM targets: bridges uuid (v4) and rand (OsRng) to # crypto.getRandomValues() via the Web Crypto API. getrandom = { version = "0.4", features = ["wasm_js"] } +# Yew — Rust/Wasm frontend framework for building the SPA UI. +yew = { version = "0.22", features = ["csr"] } +# Yew Router — client-side routing for Yew SPAs. +yew-router = "0.19" +# Gloo — utility wrappers for Web APIs (timers, fetch, events, etc.). +gloo = "0.11" +# wasm-bindgen — Rust/Wasm JS interop; version must match wasm-bindgen-cli in Nix (0.2.108). +wasm-bindgen = "0.2" +# wasm-bindgen-futures — bridges Rust futures to JS Promises for async fetch. +wasm-bindgen-futures = "0.4" +# web-sys — raw browser DOM/Web API bindings. +web-sys = { version = "0.3", features = ["Window", "Document", "HtmlElement"] } # Build-time dependencies for compile-time YAML-to-JSON conversion of the # OpenAPI spec. serde_yaml is only needed at build time — it never enters