From 47fab335615d95694856401e49c519d42dc46903 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Thu, 29 Dec 2022 12:09:36 -0600 Subject: [PATCH] Use sycamore-state from github --- Cargo.lock | 3 ++- nix/kitchenWasm/default.nix | 1 + web/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8ac5230..9c06522 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2213,7 +2213,8 @@ dependencies = [ [[package]] name = "sycamore-state" -version = "0.1.0" +version = "0.0.1" +source = "git+https://github.com/zaphar/sycamore-state?rev=v0.0.1#f74a051bf85330aef926a457d31e33f983966781" dependencies = [ "sycamore", "wasm-bindgen", diff --git a/nix/kitchenWasm/default.nix b/nix/kitchenWasm/default.nix index bef1696..eb10832 100644 --- a/nix/kitchenWasm/default.nix +++ b/nix/kitchenWasm/default.nix @@ -14,6 +14,7 @@ let # incorrect. We override those here. "sycamore-0.8.2" = "sha256-D968+8C5EelGGmot9/LkAlULZOf/Cr+1WYXRCMwb1nQ="; "sqlx-0.6.2" = "sha256-X/LFvtzRfiOIEZJiVzmFvvULPpjhqvI99pSwH7a//GM="; + "sycamore-state-0.0.1" = "sha256-RatNr1b6r7eP3fOVatHA44D9xhDAljqSIWtFpMeBA9Y="; }; }); in diff --git a/web/Cargo.toml b/web/Cargo.toml index 990d670..1250f8d 100644 --- a/web/Cargo.toml +++ b/web/Cargo.toml @@ -15,7 +15,7 @@ crate-type = ["cdylib", "rlib"] [dependencies] recipes = { path = "../recipes" } client-api = { path = "../api", package="api", features = ["browser"] } -sycamore-state = { path = "../../sycamore-state"} +sycamore-state = { git="https://github.com/zaphar/sycamore-state", rev="v0.0.1" } # This makes debugging panics more tractable. console_error_panic_hook = "0.1.7" serde_json = "1.0.79"