From 0fb3881cfecc1cb5a890a25bb37fa9de1661a71d Mon Sep 17 00:00:00 2001 From: MarioYellowy Date: Thu, 24 Sep 2026 21:21:07 -0600 Subject: [PATCH 1/5] Make derive implementation for default --- src/context/theme_provider.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/context/theme_provider.rs b/src/context/theme_provider.rs index ab68919..c3883dd 100644 --- a/src/context/theme_provider.rs +++ b/src/context/theme_provider.rs @@ -11,19 +11,14 @@ use serde::{Deserialize, Serialize}; /// This enum can be cloned, copied, and compared for equality. /// It also supports serialization and deserialization for local storage. -#[derive(Clone, Copy, PartialEq, Serialize, Deserialize, Debug)] +#[derive(Clone, Copy, PartialEq, Serialize, Deserialize, Debug, Default)] pub enum Theme { Light, + #[default] Dark, System, } -impl Default for Theme { - fn default() -> Self { - Theme::Dark - } -} - impl Display for Theme { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { write!( From 1d9336c30396752513f634ff3e1bd7faca1f703b Mon Sep 17 00:00:00 2001 From: MarioYellowy Date: Thu, 1 Oct 2026 20:11:16 -0600 Subject: [PATCH 2/5] Bumping to the latest commit yiyi --- design-system-components | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/design-system-components b/design-system-components index 73d2708..4f495de 160000 --- a/design-system-components +++ b/design-system-components @@ -1 +1 @@ -Subproject commit 73d27082b5521b93d402b0e1d17264eee98c609e +Subproject commit 4f495de6399db0b655291924ee98a6b1e54ae4af From e49c51da3bc15956aa07bd77f498007e3ab3f907 Mon Sep 17 00:00:00 2001 From: MarioYellowy Date: Thu, 1 Oct 2026 20:23:46 -0600 Subject: [PATCH 3/5] Bumping the leptos things ijiji --- Cargo.lock | 56 +++++++++++++++++++++++++----------------------------- Cargo.toml | 10 +++++----- 2 files changed, 31 insertions(+), 35 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cebd2d9..a247f8f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1687,9 +1687,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "leptos" -version = "0.8.20" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "705e2951f3688e0c4f66bbb7a2702282782dcee716971dbd6209c2619d272479" +checksum = "ae0b16d491eff5674a34a99bdba7cc9190c596c08dd6d99c89d01cd582f040b1" dependencies = [ "any_spawner", "base64", @@ -1766,9 +1766,9 @@ dependencies = [ [[package]] name = "leptos_actix" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b96f0a4ae68aa117ec532cb7cc6da1005beb7f90f0cc8cc3938ecda0b4bec257" +checksum = "c65c0cee7ff1da4bc1c912ad5d01099c399cd546b6ea70f1561778d087d079de" dependencies = [ "actix-files", "actix-http", @@ -1837,9 +1837,9 @@ dependencies = [ [[package]] name = "leptos_integration_utils" -version = "0.8.8" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c097f89cd9aa606297672f56fa5bdda09f01609a9f4eefaccdbb5ab5afea4279" +checksum = "fd93f4fd62ee9845cc50b0925272bccce6fd18e8168c4ad8a4f50eef9a93f747" dependencies = [ "futures", "hydration_context", @@ -1852,9 +1852,9 @@ dependencies = [ [[package]] name = "leptos_macro" -version = "0.8.17" +version = "0.8.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96de6e8da9d4f1a7b74b447b317d590ebabb38709f588f7ee20564b773ccbcce" +checksum = "4cfefedc5b4bd150b2669b9d3169b5795008b1cca8147ef1a6591eda0d57c94c" dependencies = [ "attribute-derive", "cfg-if", @@ -1864,7 +1864,6 @@ dependencies = [ "itertools", "leptos_hot_reload", "prettyplease", - "proc-macro-error2", "proc-macro2", "quote", "rstml", @@ -1876,9 +1875,9 @@ dependencies = [ [[package]] name = "leptos_meta" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c3efe657b4c55ed2e078922786ffe20acfb71767c3dd913767b09a35c75c890" +checksum = "987b1a07addba2647da43c0689408cccc0f428236b714ea606127b9e347d35d8" dependencies = [ "futures", "indexmap 2.14.0", @@ -1891,9 +1890,9 @@ dependencies = [ [[package]] name = "leptos_router" -version = "0.8.15" +version = "0.8.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "318c035b5995324c2f60900978ac67da3b21e6062a6e904f8b93b38eddc4e3a2" +checksum = "ffad5341e4164e1ed9a43e385ed2f9925903dc7a15fba00133a103f3bc8665a2" dependencies = [ "any_spawner", "either_of", @@ -1916,11 +1915,10 @@ dependencies = [ [[package]] name = "leptos_router_macro" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "409c0bd99f986c3cfa1a4db2443c835bc602ded1a12784e22ecb28c3ed5a2ae2" +checksum = "1bb5c81012dcab0d5cc032a2da0a364a18ce74a0fbeb88f091e9b53a0679bc85" dependencies = [ - "proc-macro-error2", "proc-macro2", "quote", "syn 2.0.119", @@ -1928,9 +1926,9 @@ dependencies = [ [[package]] name = "leptos_server" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da974775c5ccbb6bd64be7f53f75e8321542e28f21563a416574dbe4d5447eae" +checksum = "202b2d1261c22d886f307934760a6bb566444f68f39b24f6f10defdc23633049" dependencies = [ "any_spawner", "base64", @@ -2266,7 +2264,6 @@ dependencies = [ "proc-macro-error-attr2", "proc-macro2", "quote", - "syn 2.0.119", ] [[package]] @@ -2459,9 +2456,9 @@ dependencies = [ [[package]] name = "reactive_graph" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00c5a025366836190c7030e883cc2bcd9e384ff555336e3c7954741ca411b177" +checksum = "79f11fac67625645add76313dab8dae510fca0654d96ef98fd8f961a7d2e22c1" dependencies = [ "any_spawner", "async-lock", @@ -2483,9 +2480,9 @@ dependencies = [ [[package]] name = "reactive_stores" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c30fd35b7d299c591293bb69fed47a703eb2703b1cff0493e78b16ed007e5382" +checksum = "a29e469b556f25486678e9f5f65fa21a0351d98affde9a7eea9fee286bf8ebd6" dependencies = [ "guardian", "indexmap 2.14.0", @@ -2500,12 +2497,11 @@ dependencies = [ [[package]] name = "reactive_stores_macro" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68072edd607edd30b9ebf57d984ba45d8ab8809e598d0f6046278373fb76a5a0" +checksum = "8d11f1b82859d94577892b8037c35f8a4f066cbb3864583e22e68def0af49a88" dependencies = [ "convert_case 0.11.0", - "proc-macro-error2", "proc-macro2", "quote", "syn 2.0.119", @@ -2948,9 +2944,9 @@ dependencies = [ [[package]] name = "server_fn_macro" -version = "0.8.10" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1295b54815397d30d986b63f93cfd515fa86d5e528e0bb589ce9d530502f9e0f" +checksum = "b4ef7e82840fddcd17e15a62640b6d7d3b3a905e65b07854a903393db2aced76" dependencies = [ "const_format", "convert_case 0.11.0", @@ -3136,9 +3132,9 @@ dependencies = [ [[package]] name = "tachys" -version = "0.2.18" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a92ba81187437cc5df4281f2326a2e13cc81e8f96448292d1112388e2025ca66" +checksum = "e47e2220bb9d2a3be976a22a0fb7685a0b84499bb11ea5cb3bbc82907675ac68" dependencies = [ "any_spawner", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 46443e3..0da684b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,10 +12,10 @@ crate-type = ["cdylib", "rlib"] [dependencies] actix-files = { version = "0.6.10", optional = true } actix-web = { version = "4.14.0", features = ["macros"], optional = true } -leptos = { version = "0.8.20", features = ["nightly", "islands", "islands-router"] } +leptos = { version = "0.8.21", features = ["nightly", "islands", "islands-router"] } leptos_meta = "0.8.6" -leptos_actix = { version = "0.8.7", features = ["islands-router"], optional = true } -leptos_router = { version = "0.8.15", features = ["nightly"] } +leptos_actix = { version = "0.8.8", features = ["islands-router"], optional = true } +leptos_router = { version = "0.8.16", features = ["nightly"] } wasm-bindgen = "0.2.126" serde = { version = "1.0.229", features = ["derive"] } reqwest = { version = "0.13.4", features = [ @@ -87,9 +87,9 @@ end2end-dir = "end2end" # The browserlist query used for optimizing the CSS. browserquery = "defaults" # Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head -watch = false +# watch = false # The environment Leptos will run in, usually either "DEV" or "PROD" -env = "DEV" +# env = "DEV" # The features to use when compiling the bin target # # Optional. Can be over-ridden with the command line parameter --bin-features From 4ba3430a76aadab0b1fb99e700e63dc0e10f74f4 Mon Sep 17 00:00:00 2001 From: MarioYellowy Date: Thu, 1 Oct 2026 20:24:10 -0600 Subject: [PATCH 4/5] Remove unnecesary installation process --- Makefile.toml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 87d0d28..b2f3d03 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -62,19 +62,11 @@ cp node_modules/@rustlanges/styles/dist/bundled.css bundled.css [tasks.build] dependencies = ["prebuild"] -install_crate = { crate_name = "cargo-leptos", binary = "cargo", test_arg = [ - "leptos", - "--version", -], version = "0.3.6" } command = "cargo" args = ["leptos", "serve", "-r", "--split"] [tasks.serve] dependencies = ["prebuild"] -install_crate = { crate_name = "cargo-leptos", binary = "cargo", test_arg = [ - "leptos", - "--version", -], version = "0.3.6" } command = "cargo" env = { LEPTOS_TAILWIND_VERSION="v4.1.14" } args = ["leptos", "watch", "--features", "development", "--hot-reload"] From bb97deadb729a9acc67de47b9d7f36381e7464fa Mon Sep 17 00:00:00 2001 From: MarioYellowy Date: Thu, 1 Oct 2026 20:46:44 -0600 Subject: [PATCH 5/5] nothing happens here, shut up chiwa --- README.md | 1 + flake.nix | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a7ebcf..ec59ea6 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ rustup default nightly rustup target add wasm32-unknown-unknown cargo install cargo-make +cargo install cargo-leptos cargo install rusty-hook cargo install leptosfmt --version 0.1.33 ``` diff --git a/flake.nix b/flake.nix index ca90778..9521ca3 100644 --- a/flake.nix +++ b/flake.nix @@ -33,7 +33,6 @@ # Leptos specific tools leptosfmt cargo-leptos - # Additional development tools pkg-config openssl