Fix build in plate-tool-web

This is the eframe branch but like why not idk
This commit is contained in:
Emilia Allison 2025-11-22 20:45:43 -05:00
parent d39cc2e79f
commit 495c9eaf2a
No known key found for this signature in database
GPG Key ID: FEC1CE6360EEC9A8
3 changed files with 8 additions and 15 deletions

19
Cargo.lock generated
View File

@ -157,12 +157,6 @@ dependencies = [
"windows-sys 0.59.0",
]
[[package]]
name = "anymap"
version = "1.0.0-beta.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f1f8f5a6f3d50d89e3797d7593a50f96bb2aaa20ca0cc7be1fb673232c91d72"
[[package]]
name = "anymap2"
version = "0.13.0"
@ -1770,7 +1764,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8a9aa791c7b5a71b636b7a68207fdebf171ddfc593d9c8506ec4cbc527b6a84"
dependencies = [
"implicit-clone-derive",
"indexmap 1.9.3",
"indexmap 2.12.1",
]
[[package]]
@ -2856,7 +2850,7 @@ dependencies = [
"errno",
"libc",
"linux-raw-sys 0.11.0",
"windows-sys 0.59.0",
"windows-sys 0.61.2",
]
[[package]]
@ -4172,11 +4166,10 @@ dependencies = [
[[package]]
name = "yewdux"
version = "0.10.0"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "76f3154e906048f189b77b241ec4956cb1cf341637dc89a4d0a24701e5a762bb"
checksum = "8030a7de50678c07c038dcb96a42f1e8a7c4cc5610451fbee0c676aa7df42967"
dependencies = [
"anymap",
"log",
"serde",
"serde_json",
@ -4190,9 +4183,9 @@ dependencies = [
[[package]]
name = "yewdux-macros"
version = "0.10.0"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0701f8edd01519c953a9fcd3b88a2650a4351911f7492744e117d59f39f156c"
checksum = "e7ac6ccd84a49bbce44610d44eb6686a1266337d0cd3aeadb5564ab76a2819f0"
dependencies = [
"darling",
"proc-macro-error",

View File

@ -8,7 +8,7 @@ edition = "2021"
[dependencies]
plate-tool-lib = { path = "../plate-tool-lib" }
yew = { version = "0.21.0", features = ["csr"] }
yewdux = "0.10"
yewdux = "0.11"
wasm-bindgen = "0.2"
web-sys = { version = "0.3", features = ["FormData", "HtmlFormElement",
"HtmlDialogElement", "Blob", "Url", "Window",

View File

@ -80,7 +80,7 @@ pub struct MainState {
impl Store for MainState {
fn new(context: &yewdux::Context) -> Self {
init_listener(
storage::StorageListener::<Self>::new(storage::Area::Local),
|| storage::StorageListener::<Self>::new(storage::Area::Local),
context,
);