From c988e664fff5545021ffa595a173f01ced36d1e3 Mon Sep 17 00:00:00 2001 From: Harsh Modi Date: Wed, 3 Jan 2024 09:46:55 -0800 Subject: [PATCH] update leptosfmt --- README.md | 4 +++- third_party/nix/leptosfmt/default.nix | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d175eae..68a98cd 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,11 @@ If you want the database to be persistent, you bind mount a location in. You nee There isn't a fully fleshed out example for this... Assuming you can access postgresql from the docker container: ``` -docker run --rm -p 3000:3000 -p 50332:50332 ghcr.io/dolcetriade/blade:0.1 --db_path postgres://username:password@localhost/diesel_demo +docker run --rm -p 3000:3000 -p 50332:50332 ghcr.io/dolcetriade/blade:0.1 --db_path postgres://username:password@localhost/blade ``` +Note that the database must exist prior to starting blade. + # Building ## Environment diff --git a/third_party/nix/leptosfmt/default.nix b/third_party/nix/leptosfmt/default.nix index 020dbcc..2411e7a 100644 --- a/third_party/nix/leptosfmt/default.nix +++ b/third_party/nix/leptosfmt/default.nix @@ -5,16 +5,16 @@ }: rustPlatform.buildRustPackage rec { pname = "leptosfmt"; - version = "0.1.17"; + version = "0.1.18"; src = fetchFromGitHub { owner = "bram209"; repo = pname; rev = version; - hash = "sha256-LZOB0HF6Chs1BxRPqQnMQrjk2CbFR2UoVQl+W32R9yI="; + hash = "sha256-bNfTZgcru7PJR/9AcaOmW0E8QwdiXcuP7MWXcDPXGso="; }; - cargoHash = "sha256-9io8cSKwBONw8epPw5foa+/ur4VvvjQrOcj5Hse3oJ4="; + cargoHash = "sha256-NQYIq9Wc2mtUGeS3Iv2e0nfQkvcX6hOxZ6FHVcHD5cs="; meta = with lib; { description = "A formatter for the leptos view! macro.";