diff --git a/pkgs/web-gen/Cargo.lock b/pkgs/web-gen/Cargo.lock index b9992c7a94..4f6d43f91f 100755 --- a/pkgs/web-gen/Cargo.lock +++ b/pkgs/web-gen/Cargo.lock @@ -17,17 +17,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" -[[package]] -name = "ahash" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" -dependencies = [ - "getrandom 0.2.10", - "once_cell", - "version_check", -] - [[package]] name = "ahash" version = "0.8.3" @@ -156,9 +145,9 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" [[package]] name = "async-lock" -version = "3.4.2" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290f7f2596bd5b78a9fec8088ccd89180d7f9f55b94b0576823bbbdc72ee8311" +checksum = "0876700b0d007ad25d5508865a4259c3af9af6d296bf663a0d586d0bc3369f6f" dependencies = [ "event-listener", "event-listener-strategy", @@ -166,15 +155,10 @@ dependencies = [ ] [[package]] -name = "async-recursion" -version = "1.0.4" +name = "async-once-cell" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e97ce7de6cf12de5d7226c73f5ba9811622f4db3a5b91b55c53e987e5f91cba" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] +checksum = "4288f83726785267c6f2ef073a3d83dc3f9b81464e9f99898240cced85fce35a" [[package]] name = "async-trait" @@ -196,47 +180,19 @@ dependencies = [ "num-traits", ] -[[package]] -name = "attribute-derive" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c124f12ade4e670107b132722d0ad1a5c9790bcbc1b265336369ea05626b4498" -dependencies = [ - "attribute-derive-macro 0.6.1", - "proc-macro2", - "quote", - "syn 2.0.119", -] - [[package]] name = "attribute-derive" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2f9ef7a68684657ce9da341c934c73b63df7a3585a61e366d84c84ed5d3d167" dependencies = [ - "attribute-derive-macro 0.11.0", + "attribute-derive-macro", "manyhow", "proc-macro2", "quote", "syn 3.0.9", ] -[[package]] -name = "attribute-derive-macro" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b217a07446e0fb086f83401a98297e2d81492122f5874db5391bd270a185f88" -dependencies = [ - "collection_literals", - "interpolator", - "proc-macro-error", - "proc-macro-utils 0.8.0", - "proc-macro2", - "quote", - "quote-use 0.7.1", - "syn 2.0.119", -] - [[package]] name = "attribute-derive-macro" version = "0.11.0" @@ -246,10 +202,10 @@ dependencies = [ "collection_literals", "interpolator", "manyhow", - "proc-macro-utils 0.10.0", + "proc-macro-utils", "proc-macro2", "quote", - "quote-use 0.9.0", + "quote-use", "syn 3.0.9", ] @@ -300,16 +256,10 @@ dependencies = [ ] [[package]] -name = "base64" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" - -[[package]] -name = "base64" -version = "0.21.2" +name = "base16" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" +checksum = "d27c3610c36aee21ce8ac510e6224498de4228ad772a171ed65643a24693a5a8" [[package]] name = "base64" @@ -481,33 +431,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "ciborium" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "effd91f6c78e5a4ace8a5d3c0b6bfaec9e2baaef55f3efc00e45fb2e477ee926" -dependencies = [ - "ciborium-io", - "ciborium-ll", - "serde", -] - -[[package]] -name = "ciborium-io" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdf919175532b369853f5d5e20b26b43112613fd6fe7aee757e35f7a44642656" - -[[package]] -name = "ciborium-ll" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "defaa24ecc093c77630e6c15e17c51f5e187bf35ee514f4e2d67baaa96dae22b" -dependencies = [ - "ciborium-io", - "half", -] - [[package]] name = "clap" version = "4.3.19" @@ -635,12 +558,6 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" -[[package]] -name = "common_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3f6d59c71e7dc3af60f0af9db32364d96a16e9310f3f5db2b55ed642162dd35" - [[package]] name = "compact_str" version = "0.6.1" @@ -654,41 +571,22 @@ dependencies = [ [[package]] name = "config" -version = "0.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d379af7f68bfc21714c6c7dea883544201741d2ce8274bb12fa54f89507f52a7" -dependencies = [ - "async-trait", - "json5", - "lazy_static", - "nom", - "pathdiff", - "ron", - "rust-ini", - "serde", - "serde_json", - "toml 0.5.11", - "yaml-rust", -] - -[[package]] -name = "config" -version = "0.15.16" +version = "0.15.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cef036f0ecf99baef11555578630e2cca559909b4c50822dbba828c252d21c49" +checksum = "38e9fbc53afcec54441422f1c596cd054655b32e70e1cbac956651b7b175a404" dependencies = [ "convert_case 0.6.0", "pathdiff", "serde_core", - "toml 0.9.12+spec-1.1.0", - "winnow 0.7.15", + "toml 1.2.2+spec-1.1.0", + "winnow 1.0.5", ] [[package]] name = "const-str" -version = "0.6.4" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "451d0640545a0553814b4c646eb549343561618838e9b42495f466131fe3ad49" +checksum = "18f12cc9948ed9604230cdddc7c86e270f9401ccbe3c2e98a4378c5e7632212f" [[package]] name = "const_format" @@ -975,20 +873,6 @@ dependencies = [ "parking_lot_core", ] -[[package]] -name = "dashmap" -version = "6.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf" -dependencies = [ - "cfg-if", - "crossbeam-utils", - "hashbrown 0.14.0", - "lock_api", - "once_cell", - "parking_lot_core", -] - [[package]] name = "derive-where" version = "1.7.0" @@ -1063,10 +947,15 @@ dependencies = [ ] [[package]] -name = "dlv-list" -version = "0.3.0" +name = "displaydoc" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0688c2a7f92e427f44895cd63841bff7b29f8d7a1648b9e7e07a4a365b2e1257" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.9", +] [[package]] name = "dotenvy" @@ -1086,18 +975,6 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" -[[package]] -name = "educe" -version = "0.4.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "079044df30bb07de7d846d41a184c4b00e66ebdac93ee459253474f3a47e50ae" -dependencies = [ - "enum-ordinalize", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "either" version = "1.8.1" @@ -1117,28 +994,6 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "encoding_rs" -version = "0.8.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "enum-ordinalize" -version = "3.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4f76552f53cefc9a7f64987c3701b99d982f7690606fd67de1d09712fbf52f1" -dependencies = [ - "num-bigint", - "num-traits", - "proc-macro2", - "quote", - "syn 2.0.119", -] - [[package]] name = "equivalent" version = "1.0.1" @@ -1277,12 +1132,6 @@ dependencies = [ "spin", ] -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - [[package]] name = "foldhash" version = "0.2.0" @@ -1423,10 +1272,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" dependencies = [ "cfg-if", - "js-sys", "libc", "wasi 0.11.0+wasi-snapshot-preview1", - "wasm-bindgen", ] [[package]] @@ -1448,9 +1295,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" dependencies = [ "cfg-if", + "js-sys", "libc", "r-efi 6.0.0", "rand_core 0.10.1", + "wasm-bindgen", ] [[package]] @@ -1790,7 +1639,7 @@ checksum = "26143c5c8bc145a39e9b335cc74504f2eba2ce68b1724661d8e6cb4484ab187e" dependencies = [ "bytesize", "clru", - "dashmap 5.5.0", + "dashmap", "gix-chunk", "gix-diff", "gix-features", @@ -1907,7 +1756,7 @@ version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48590cb5de0b8feadee42466a90028877ba67b9fd894c5493b4b64f5e3217c17" dependencies = [ - "dashmap 5.5.0", + "dashmap", "libc", "once_cell", "signal-hook", @@ -1969,26 +1818,6 @@ dependencies = [ "thiserror 1.0.43", ] -[[package]] -name = "gloo-net" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9902a044653b26b99f7e3693a42f171312d9be8b26b5697bd1e43ad1f8a35e10" -dependencies = [ - "futures-channel", - "futures-core", - "futures-sink", - "gloo-utils 0.1.7", - "js-sys", - "pin-project", - "serde", - "serde_json", - "thiserror 1.0.43", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - [[package]] name = "gloo-net" version = "0.6.0" @@ -1998,8 +1827,8 @@ dependencies = [ "futures-channel", "futures-core", "futures-sink", - "gloo-utils 0.2.0", - "http 1.5.0", + "gloo-utils", + "http", "js-sys", "pin-project", "serde", @@ -2010,19 +1839,6 @@ dependencies = [ "web-sys", ] -[[package]] -name = "gloo-utils" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "037fcb07216cb3a30f7292bd0176b050b7b9a052ba830ef7d5d65f6dc64ba58e" -dependencies = [ - "js-sys", - "serde", - "serde_json", - "wasm-bindgen", - "web-sys", -] - [[package]] name = "gloo-utils" version = "0.2.0" @@ -2042,39 +1858,11 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17e2ac29387b1aa07a1e448f7bb4f35b500787971e965b02842b900afa5c8f6f" -[[package]] -name = "h2" -version = "0.3.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97ec8491ebaf99c8eaa73058b045fe58073cd6be7f596ac993ced0b0a0c01049" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http 0.2.9", - "indexmap 1.9.3", - "slab", - "tokio", - "tokio-util", - "tracing", -] - -[[package]] -name = "half" -version = "1.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" - [[package]] name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash 0.7.6", -] [[package]] name = "hashbrown" @@ -2174,17 +1962,6 @@ dependencies = [ "utf8-width", ] -[[package]] -name = "http" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - [[package]] name = "http" version = "1.5.0" @@ -2195,29 +1972,6 @@ dependencies = [ "itoa", ] -[[package]] -name = "http-body" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" -dependencies = [ - "bytes", - "http 0.2.9", - "pin-project-lite", -] - -[[package]] -name = "httparse" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" - -[[package]] -name = "httpdate" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" - [[package]] name = "human_format" version = "1.0.3" @@ -2246,30 +2000,6 @@ dependencies = [ "throw_error", ] -[[package]] -name = "hyper" -version = "0.14.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2", - "http 0.2.9", - "http-body", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "socket2", - "tokio", - "tower-service", - "tracing", - "want", -] - [[package]] name = "iana-time-zone" version = "0.1.57" @@ -2294,60 +2024,144 @@ dependencies = [ ] [[package]] -name = "idna" -version = "0.4.0" +name = "icu_collections" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" +checksum = "fe090a42a0d3140fed8c63263ed1fecc02422cb2f4bfe55cd8de2de1b8e105dd" dependencies = [ - "unicode-bidi", - "unicode-normalization", + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", ] [[package]] -name = "imara-diff" -version = "0.1.5" +name = "icu_locale_core" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e98c1d0ad70fc91b8b9654b1f33db55e59579d3b3de2bffdced0fdb810570cb8" +checksum = "25d29b57c17c6528d0dc4c2141cfa2d08200465acb537a3909c8b9b8a4a984c0" dependencies = [ - "ahash 0.8.3", - "hashbrown 0.12.3", + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", ] [[package]] -name = "indenter" -version = "0.3.3" +name = "icu_normalizer" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" +checksum = "404a3b8c486f205c87fe7f23ab6894d84a4ad76d6e4671ae1981ba7def87c599" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] [[package]] -name = "indexmap" -version = "1.9.3" +name = "icu_normalizer_data" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" -dependencies = [ - "autocfg", - "hashbrown 0.12.3", -] +checksum = "20f0088bfb7441f7a37fa0c9e20cb1e9cba1cac6b9ce8cd2a6dc44294f8e8cbc" [[package]] -name = "indexmap" -version = "2.14.2" +name = "icu_properties" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +checksum = "2ea83d991c56158f7cf898bf86436c1dfe7c07ee82fe88951f2695c9f37a379f" dependencies = [ - "equivalent", - "hashbrown 0.17.1", + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", ] [[package]] -name = "inotify" -version = "0.9.6" +name = "icu_properties_data" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff" +checksum = "b98f29af82d02b163fe50161388350e743bb3107cc8e8c2f7314cb505faddfcf" + +[[package]] +name = "icu_provider" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413099315636c588ee8f011190b329b971a09a8fae9d157e01dcae8379468514" dependencies = [ - "bitflags 1.3.2", - "inotify-sys", - "libc", + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "imara-diff" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e98c1d0ad70fc91b8b9654b1f33db55e59579d3b3de2bffdced0fdb810570cb8" +dependencies = [ + "ahash", + "hashbrown 0.12.3", +] + +[[package]] +name = "indenter" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown 0.17.1", +] + +[[package]] +name = "inotify" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff" +dependencies = [ + "bitflags 1.3.2", + "inotify-sys", + "libc", ] [[package]] @@ -2374,12 +2188,6 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71dd52191aae121e8611f1e8dc3e324dd0dd1dee1e6dd91d10ee07a3cfb4d9d8" -[[package]] -name = "inventory" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25b1d6b4b9fb75fc419bdef998b689df5080a32931cb3395b86202046b56a9ea" - [[package]] name = "io-close" version = "0.3.7" @@ -2390,12 +2198,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "ipnet" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" - [[package]] name = "irust" version = "1.70.0" @@ -2448,15 +2250,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.14.0" @@ -2483,17 +2276,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "json5" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96b0db21af676c1ce64250b5f40f3ce2cf27e4e47cb91ed91eb6fe9350b430c1" -dependencies = [ - "pest", - "pest_derive", - "serde", -] - [[package]] name = "jwalk" version = "0.8.1" @@ -2570,112 +2352,55 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "leptos" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c0a4a89ba2d4c0932d57c5866b2f7cd07f5e3b0516266a4d5a734653d5fba2e" -dependencies = [ - "cfg-if", - "leptos_config 0.4.5", - "leptos_dom 0.4.5", - "leptos_macro 0.4.5", - "leptos_reactive", - "leptos_server 0.4.5", - "server_fn 0.4.5", - "tracing", - "typed-builder 0.14.0", -] - -[[package]] -name = "leptos" -version = "0.8.2" +version = "0.8.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ceaf7d86820125c57dcd380edac4b972debf480ee4c7eea6dd7cea212615978" +checksum = "4b0f9f061ff585050a77e18b93a58d6c881c6785f473fc98924c4f77da50d891" dependencies = [ "any_spawner", "cfg-if", "either_of", "futures", - "getrandom 0.2.10", + "getrandom 0.4.3", "hydration_context", - "leptos_config 0.8.10", - "leptos_dom 0.8.8", - "leptos_hot_reload 0.8.7", - "leptos_macro 0.8.19", - "leptos_server 0.8.2", + "leptos_config", + "leptos_dom", + "leptos_hot_reload", + "leptos_macro", + "leptos_server", "oco_ref", "or_poisoned", "paste", "reactive_graph", - "rustc-hash 2.1.3", + "rustc-hash", "rustc_version", "send_wrapper", "serde", - "serde_qs 0.14.0", - "server_fn 0.8.2", + "serde_json", + "serde_qs", + "server_fn", "slotmap", "tachys", "thiserror 2.0.21", "throw_error", - "typed-builder 0.21.2", - "typed-builder-macro 0.21.2", + "typed-builder", + "typed-builder-macro", "wasm-bindgen", + "wasm-bindgen-futures", + "wasm_split_helpers", "web-sys", ] -[[package]] -name = "leptos_config" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56537d0f2d5d6fbeedbc445f5959c48c1342a3f319f4e8e7d5fe516f92abf894" -dependencies = [ - "config 0.13.3", - "regex", - "serde", - "thiserror 1.0.43", - "typed-builder 0.14.0", -] - [[package]] name = "leptos_config" version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c06f751315bccc0d193fab302ac01d25bcfcd97474d4676440e7e3250dc3fc3" dependencies = [ - "config 0.15.16", + "config", "regex", "serde", "thiserror 2.0.21", - "typed-builder 0.23.2", -] - -[[package]] -name = "leptos_dom" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "203df8b36c53b8d388abe3dee019e44400f04202737b8ca19cb7de4a1cf5bd59" -dependencies = [ - "async-recursion", - "cfg-if", - "drain_filter_polyfill", - "educe", - "futures", - "getrandom 0.2.10", - "html-escape", - "indexmap 2.14.2", - "itertools 0.10.5", - "js-sys", - "leptos_reactive", - "once_cell", - "pad-adapter", - "paste", - "rustc-hash 1.1.0", - "serde_json", - "server_fn 0.4.5", - "smallvec", - "tracing", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", + "typed-builder", ] [[package]] @@ -2693,24 +2418,6 @@ dependencies = [ "web-sys", ] -[[package]] -name = "leptos_hot_reload" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11a276211408d3a482f2686d3cface94a1825dbb91bd2b3d0809a5644c04a141" -dependencies = [ - "anyhow", - "camino", - "indexmap 2.14.2", - "parking_lot", - "proc-macro2", - "quote", - "rstml 0.10.6", - "serde", - "syn 2.0.119", - "walkdir", -] - [[package]] name = "leptos_hot_reload" version = "0.8.7" @@ -2719,11 +2426,11 @@ checksum = "d84989bd3d604e66adbfe13a32bec2ea47bdcb6c9fcd643f784facbb32f6ef10" dependencies = [ "anyhow", "camino", - "indexmap 2.14.2", + "indexmap", "or_poisoned", "proc-macro2", "quote", - "rstml 0.13.1", + "rstml", "serde", "syn 3.0.9", "walkdir", @@ -2731,119 +2438,70 @@ dependencies = [ [[package]] name = "leptos_macro" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "246d4708c0778dbd747253d0bfc213e4f996c530b9b02278d58941a7241a132f" -dependencies = [ - "attribute-derive 0.6.1", - "cfg-if", - "convert_case 0.6.0", - "html-escape", - "itertools 0.10.5", - "leptos_hot_reload 0.4.5", - "prettyplease 0.2.10", - "proc-macro-error", - "proc-macro2", - "quote", - "rstml 0.10.6", - "server_fn_macro 0.4.5", - "syn 2.0.119", - "tracing", - "uuid", -] - -[[package]] -name = "leptos_macro" -version = "0.8.19" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0902af1e6947ffc7e906b7003a165f76f178dc711a47b74241025090b0c32a72" +checksum = "0066e6f8003dbedea0900a2d7ad11734ab1a541330718866dd4b9a394a032127" dependencies = [ - "attribute-derive 0.11.0", + "attribute-derive", "cfg-if", "convert_case 0.11.0", "convert_case_extras", "html-escape", - "itertools 0.14.0", - "leptos_hot_reload 0.8.7", - "prettyplease 0.3.0", + "itertools", + "leptos_hot_reload", + "prettyplease", "proc-macro2", "quote", - "rstml 0.13.1", + "rstml", "rustc_version", - "server_fn_macro 0.8.12", + "server_fn_macro", "syn 3.0.9", "uuid", ] -[[package]] -name = "leptos_reactive" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf19b7c456789a45afd9d9a82e524cec747c39709bd0cc56a9b0487e31666fdf" -dependencies = [ - "base64 0.21.2", - "cfg-if", - "futures", - "indexmap 2.14.2", - "rustc-hash 1.1.0", - "self_cell", - "serde", - "serde-wasm-bindgen", - "serde_json", - "slotmap", - "thiserror 1.0.43", - "tracing", -] - [[package]] name = "leptos_router" -version = "0.4.5" +version = "0.8.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "499dfa66e49ecaefa51df8c2176b2de7966ef63fb6678afd967d5cac343b4f76" +checksum = "f92787ebcb5f25af6a67513dacfd75cbffce5bda3f361e2e947c3fc4e3adc14b" dependencies = [ - "cfg-if", - "common_macros", - "gloo-net 0.2.6", + "any_spawner", + "either_of", + "futures", + "gloo-net", "js-sys", - "lazy_static", - "leptos 0.4.5", - "linear-map", - "log", - "once_cell", - "percent-encoding", - "serde", - "serde_json", - "serde_qs 0.12.0", - "thiserror 1.0.43", - "tracing", + "leptos", + "leptos_router_macro", + "or_poisoned", + "reactive_graph", + "rustc_version", + "send_wrapper", + "tachys", + "thiserror 2.0.21", + "url", "wasm-bindgen", - "wasm-bindgen-futures", "web-sys", ] [[package]] -name = "leptos_server" -version = "0.4.5" +name = "leptos_router_macro" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9aed5fb93e67df8f8f3cc1e8560039b080377baab544b1228e34f17c94feaa6" +checksum = "1bb5c81012dcab0d5cc032a2da0a364a18ce74a0fbeb88f091e9b53a0679bc85" dependencies = [ - "inventory", - "lazy_static", - "leptos_reactive", - "serde", - "server_fn 0.4.5", - "thiserror 1.0.43", - "tracing", + "proc-macro2", + "quote", + "syn 2.0.119", ] [[package]] name = "leptos_server" -version = "0.8.2" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5af59932aa8a640da4d3d20650cf07084433e25db0ee690203d893b81773db29" +checksum = "202b2d1261c22d886f307934760a6bb566444f68f39b24f6f10defdc23633049" dependencies = [ "any_spawner", - "base64 0.22.1", + "base64", "codee", "futures", "hydration_context", @@ -2852,7 +2510,7 @@ dependencies = [ "send_wrapper", "serde", "serde_json", - "server_fn 0.8.2", + "server_fn", "tachys", ] @@ -2882,28 +2540,18 @@ dependencies = [ "vcpkg", ] -[[package]] -name = "linear-map" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfae20f6b19ad527b550c223fddc3077a547fc70cda94b9b566575423fd303ee" -dependencies = [ - "serde", - "serde_test", -] - -[[package]] -name = "linked-hash-map" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" - [[package]] name = "linux-raw-sys" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09fc20d2ca12cb9f044c93e3bd6d32d523e6e2ec3db4f7b2939cd99026ecd3f0" +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + [[package]] name = "lock_api" version = "0.4.10" @@ -2938,7 +2586,7 @@ version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31601db71f1f5fb6f831a18aa3052d13a62528ee4f2cba7e8c9a5e258d953725" dependencies = [ - "proc-macro-utils 0.10.0", + "proc-macro-utils", "proc-macro2", "quote", ] @@ -2986,12 +2634,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - [[package]] name = "minimad" version = "0.12.0" @@ -3087,27 +2729,6 @@ dependencies = [ "windows-sys 0.45.0", ] -[[package]] -name = "num-bigint" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-integer" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" -dependencies = [ - "autocfg", - "num-traits", -] - [[package]] name = "num-traits" version = "0.2.15" @@ -3167,28 +2788,12 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c04f5d74368e4d0dfe06c45c8627c81bd7c317d52762d118fb9b3076f6420fd" -[[package]] -name = "ordered-multimap" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccd746e37177e1711c20dd619a1620f34f5c8b569c53590a72dedd5344d8924a" -dependencies = [ - "dlv-list", - "hashbrown 0.12.3", -] - [[package]] name = "owo-colors" version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" -[[package]] -name = "pad-adapter" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56d80efc4b6721e8be2a10a5df21a30fa0b470f1539e53d8b4e6e75faf938b63" - [[package]] name = "parking" version = "2.2.1" @@ -3226,59 +2831,15 @@ checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "pathdiff" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" +checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" [[package]] name = "percent-encoding" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" - -[[package]] -name = "pest" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d2d1d55045829d65aad9d389139882ad623b33b904e7c9f1b10c5b8927298e5" -dependencies = [ - "thiserror 1.0.43", - "ucd-trie", -] - -[[package]] -name = "pest_derive" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f94bca7e7a599d89dea5dfa309e217e7906c3c007fb9c3299c40b10d6a315d3" -dependencies = [ - "pest", - "pest_generator", -] - -[[package]] -name = "pest_generator" -version = "2.7.1" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99d490fe7e8556575ff6911e45567ab95e71617f43781e5c05490dc8d75c965c" -dependencies = [ - "pest", - "pest_meta", - "proc-macro2", - "quote", - "syn 2.0.119", -] - -[[package]] -name = "pest_meta" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2674c66ebb4b4d9036012091b537aae5878970d6999f81a265034d85b136b341" -dependencies = [ - "once_cell", - "pest", - "sha2 0.10.7", -] +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pin-project" @@ -3313,20 +2874,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" [[package]] -name = "ppv-lite86" -version = "0.2.17" +name = "potential_utf" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "zerovec", +] [[package]] -name = "prettyplease" -version = "0.2.10" +name = "ppv-lite86" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92139198957b410250d43fad93e630d956499a625c527eda65175c8680f83387" -dependencies = [ - "proc-macro2", - "syn 2.0.119", -] +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "prettyplease" @@ -3348,41 +2908,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn 1.0.109", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", -] - -[[package]] -name = "proc-macro-utils" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f59e109e2f795a5070e69578c4dc101068139f74616778025ae1011d4cd41a8" -dependencies = [ - "proc-macro2", - "quote", - "smallvec", -] - [[package]] name = "proc-macro-utils" version = "0.10.0" @@ -3403,19 +2928,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "proc-macro2-diagnostics" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af066a9c399a26e020ada66a034357a868728e72cd426f3adcd35f80d88d88c8" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", - "version_check", - "yansi", -] - [[package]] name = "proc-macro2-diagnostics" version = "0.11.0" @@ -3463,18 +2975,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "quote-use" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58e9a38ef862d7fec635661503289062bc5b3035e61859a8de3d3f81823accd2" -dependencies = [ - "derive-where", - "proc-macro2", - "quote", - "syn 2.0.119", -] - [[package]] name = "quote-use" version = "0.9.0" @@ -3491,7 +2991,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8cf1c5de6a7cc231c71e03c77aa4c7019097859ea7029156b54d2894a8430704" dependencies = [ - "proc-macro-utils 0.10.0", + "proc-macro-utils", "proc-macro2", "quote", "syn 3.0.9", @@ -3588,11 +3088,11 @@ dependencies = [ "futures", "guardian", "hydration_context", - "indexmap 2.14.2", + "indexmap", "or_poisoned", "paste", "pin-project-lite", - "rustc-hash 2.1.3", + "rustc-hash", "rustc_version", "send_wrapper", "serde", @@ -3608,13 +3108,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a29e469b556f25486678e9f5f65fa21a0351d98affde9a7eea9fee286bf8ebd6" dependencies = [ "guardian", - "indexmap 2.14.2", - "itertools 0.14.0", + "indexmap", + "itertools", "or_poisoned", "paste", "reactive_graph", "reactive_stores_macro", - "rustc-hash 2.1.3", + "rustc-hash", "send_wrapper", ] @@ -3694,75 +3194,16 @@ version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" -[[package]] -name = "reqwest" -version = "0.11.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cde824a14b7c14f85caff81225f411faacc04a2013f41670f41443742b1c1c55" -dependencies = [ - "base64 0.21.2", - "bytes", - "encoding_rs", - "futures-core", - "futures-util", - "h2", - "http 0.2.9", - "http-body", - "hyper", - "ipnet", - "js-sys", - "log", - "mime", - "once_cell", - "percent-encoding", - "pin-project-lite", - "serde", - "serde_json", - "serde_urlencoded", - "tokio", - "tower-service", - "url", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "winreg", -] - -[[package]] -name = "ron" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88073939a61e5b7680558e6be56b419e208420c2adb92be54921fa6b72283f1a" -dependencies = [ - "base64 0.13.1", - "bitflags 1.3.2", - "serde", -] - [[package]] name = "rscript" version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78a75e23463c51d7c5c0a09da18b898ac77e4f6156ad6ea2b31a7e04deb95b94" -dependencies = [ - "bincode", - "libloading", - "semver", - "serde", -] - -[[package]] -name = "rstml" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7afcc74cab5d3118523b1f75900e1fcbeae7cac6c6cb800430621bf58add0bd" -dependencies = [ - "proc-macro2", - "proc-macro2-diagnostics 0.10.1", - "quote", - "syn 2.0.119", - "syn_derive", - "thiserror 1.0.43", +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78a75e23463c51d7c5c0a09da18b898ac77e4f6156ad6ea2b31a7e04deb95b94" +dependencies = [ + "bincode", + "libloading", + "semver", + "serde", ] [[package]] @@ -3773,22 +3214,12 @@ checksum = "c6bd1bfba3c4c0b57aae906204d9e5744f3f65800ce6c75bd4cc162f2c26f3aa" dependencies = [ "derive-where", "proc-macro2", - "proc-macro2-diagnostics 0.11.0", + "proc-macro2-diagnostics", "quote", "syn 3.0.9", "thiserror 2.0.21", ] -[[package]] -name = "rust-ini" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6d5f2436026b4f6e79dc829837d467cc7e9a55ee40e750d716713540715a2df" -dependencies = [ - "cfg-if", - "ordered-multimap", -] - [[package]] name = "rustc-ap-rustc_lexer" version = "727.0.0" @@ -3804,12 +3235,6 @@ version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" -[[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" - [[package]] name = "rustc-hash" version = "2.1.3" @@ -3865,12 +3290,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" -[[package]] -name = "self_cell" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c309e515543e67811222dbc9e3dd7e1056279b782e1dacffe4242b718734fb6" - [[package]] name = "semver" version = "1.0.18" @@ -3899,17 +3318,6 @@ dependencies = [ "serde_derive", ] -[[package]] -name = "serde-wasm-bindgen" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3b143e2833c57ab9ad3ea280d21fd34e285a42837aeb0ee301f4f41890fa00e" -dependencies = [ - "js-sys", - "serde", - "wasm-bindgen", -] - [[package]] name = "serde_core" version = "1.0.229" @@ -3945,20 +3353,9 @@ dependencies = [ [[package]] name = "serde_qs" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0431a35568651e363364210c91983c1da5eb29404d9f0928b67d4ebcfa7d330c" -dependencies = [ - "percent-encoding", - "serde", - "thiserror 1.0.43", -] - -[[package]] -name = "serde_qs" -version = "0.14.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b417bedc008acbdf6d6b4bc482d29859924114bbe2650b7921fb68a261d0aa6" +checksum = "f3faaf9e727533a19351a43cc5a8de957372163c7d35cc48c90b75cdda13c352" dependencies = [ "percent-encoding", "serde", @@ -3976,82 +3373,36 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "1.1.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e7523beb55eece201a2356bee0bbca0d1ab466c14c07703b2e0ee6d42cb0c2c" +checksum = "9c187e0a369471c550af028cba56d4f4fa2a489ad28151ae95a4d340a2a8b782" dependencies = [ "serde_core", ] -[[package]] -name = "serde_test" -version = "1.0.174" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e13551f1d79ca55f8c19245baddccecb53f894d5c3082fe915f8ffa9ff9464c" -dependencies = [ - "serde", -] - -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "server_fn" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9f4f21c0108fba9f3f76c5a0dfc08d69c9d386a3d8387ee4fa7f63c8f0d1e8d" -dependencies = [ - "ciborium", - "const_format", - "gloo-net 0.2.6", - "js-sys", - "lazy_static", - "once_cell", - "proc-macro2", - "quote", - "reqwest", - "serde", - "serde_json", - "serde_qs 0.12.0", - "server_fn_macro_default 0.4.5", - "syn 2.0.119", - "thiserror 1.0.43", - "xxhash-rust", -] - [[package]] name = "server_fn" -version = "0.8.2" +version = "0.8.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09b0f92b9d3a62c73f238ac21f7a09f15bad335a9d1651514d9da80d2eaf8d4c" +checksum = "be8559dd05af1b5b7e363a150616589d5a88af5187273f7f331ba0dae8922812" dependencies = [ - "base64 0.22.1", + "base64", "bytes", "const-str", "const_format", - "dashmap 6.1.0", "futures", - "gloo-net 0.6.0", - "http 1.5.0", + "gloo-net", + "http", "js-sys", - "once_cell", + "or_poisoned", "pin-project-lite", "rustc_version", "rustversion", "send_wrapper", "serde", "serde_json", - "serde_qs 0.14.0", - "server_fn_macro_default 0.8.6", + "serde_qs", + "server_fn_macro_default", "thiserror 2.0.21", "throw_error", "url", @@ -4062,21 +3413,6 @@ dependencies = [ "xxhash-rust", ] -[[package]] -name = "server_fn_macro" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d2971efae80a313be9deebe73bfec151c743e059ffdb7bef78eddd9f4253472" -dependencies = [ - "const_format", - "proc-macro-error", - "proc-macro2", - "quote", - "serde", - "syn 2.0.119", - "xxhash-rust", -] - [[package]] name = "server_fn_macro" version = "0.8.12" @@ -4092,23 +3428,13 @@ dependencies = [ "xxhash-rust", ] -[[package]] -name = "server_fn_macro_default" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4892bb76c7ae27e1a583c1a8bdae1ae9a5a9df33f21f7a62e8e49bad32f57960" -dependencies = [ - "server_fn_macro 0.4.5", - "syn 2.0.119", -] - [[package]] name = "server_fn_macro_default" version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9a4f81a0d855f279c3448243138a55cbfdd9851da9341b9c1e5971b90089e61" dependencies = [ - "server_fn_macro 0.8.12", + "server_fn_macro", "syn 3.0.9", ] @@ -4131,9 +3457,9 @@ checksum = "ae1a47186c03a32177042e55dbc5fd5aee900b8e0069a8d70fba96a9375cd012" [[package]] name = "sha2" -version = "0.10.7" +version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", "cpufeatures 0.2.9", @@ -4205,7 +3531,6 @@ version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bdd58c3c93c3d278ca835519292445cb4b0d4dc59ccfdf7ceadaab3f8aeb4038" dependencies = [ - "serde", "version_check", ] @@ -4256,7 +3581,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05b44e85bf579a8eeb4ceaa77a3a523baf2bf0e9bac7e40f405d537b5d2d5ccb" dependencies = [ - "base64 0.22.1", + "base64", "bytes", "cfg-if", "crc", @@ -4269,13 +3594,13 @@ dependencies = [ "futures-util", "hashbrown 0.16.1", "hashlink", - "indexmap 2.14.2", + "indexmap", "log", "memchr", "percent-encoding", "serde", "serde_json", - "sha2 0.10.7", + "sha2 0.10.9", "smallvec", "thiserror 2.0.21", "tracing", @@ -4310,7 +3635,7 @@ dependencies = [ "quote", "serde", "serde_json", - "sha2 0.10.7", + "sha2 0.10.9", "sqlx-core", "sqlx-mysql", "sqlx-postgres", @@ -4353,7 +3678,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87a2bdd6e83f6b3ea525ca9fee568030508b58355a43d0b2c1674d5f79dcd65e" dependencies = [ "atoi", - "base64 0.22.1", + "base64", "bitflags 2.13.2", "byteorder", "crc", @@ -4405,6 +3730,12 @@ dependencies = [ "url", ] +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + [[package]] name = "static_assertions" version = "1.1.0" @@ -4461,15 +3792,14 @@ dependencies = [ ] [[package]] -name = "syn_derive" -version = "0.1.6" +name = "synstructure" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8128874d02f9a114ade6d9ad252078cb32d3cb240e26477ac73d7e9c495c605e" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" dependencies = [ - "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.119", + "syn 3.0.9", ] [[package]] @@ -4486,8 +3816,8 @@ dependencies = [ "erased", "futures", "html-escape", - "indexmap 2.14.2", - "itertools 0.14.0", + "indexmap", + "itertools", "js-sys", "next_tuple", "oco_ref", @@ -4495,7 +3825,7 @@ dependencies = [ "paste", "reactive_graph", "reactive_stores", - "rustc-hash 2.1.3", + "rustc-hash", "rustc_version", "send_wrapper", "slotmap", @@ -4642,6 +3972,16 @@ dependencies = [ "time-core", ] +[[package]] +name = "tinystr" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abc840c238154d58f9e86b2792261edfde565a17696e1cda1a449de27979801a" +dependencies = [ + "displaydoc", + "zerovec", +] + [[package]] name = "tinyvec" version = "1.6.0" @@ -4686,29 +4026,6 @@ dependencies = [ "syn 2.0.119", ] -[[package]] -name = "tokio-util" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", - "tracing", -] - -[[package]] -name = "toml" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" -dependencies = [ - "serde", -] - [[package]] name = "toml" version = "0.7.6" @@ -4723,15 +4040,17 @@ dependencies = [ [[package]] name = "toml" -version = "0.9.12+spec-1.1.0" +version = "1.2.2+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863" +checksum = "5426cb1b964690d913f6c5c1a1ae0b42f428ec506bb4d452876d7a209c9bca3b" dependencies = [ + "indexmap", "serde_core", - "serde_spanned 1.1.2", - "toml_datetime 0.7.5+spec-1.1.0", + "serde_spanned 1.1.3", + "toml_datetime 1.1.3+spec-1.1.0", "toml_parser", - "winnow 0.7.15", + "toml_writer", + "winnow 1.0.5", ] [[package]] @@ -4745,9 +4064,9 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.7.5+spec-1.1.0" +version = "1.1.3+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347" +checksum = "173f25c883cd2176a2d8212155638c0a60d484a9d84546d270866f40f56b6e49" dependencies = [ "serde_core", ] @@ -4758,7 +4077,7 @@ version = "0.19.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a" dependencies = [ - "indexmap 2.14.2", + "indexmap", "serde", "serde_spanned 0.6.3", "toml_datetime 0.6.3", @@ -4767,18 +4086,18 @@ dependencies = [ [[package]] name = "toml_parser" -version = "1.1.5+spec-1.1.0" +version = "1.1.6+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" +checksum = "e6769c452d71ba30696c6b37770c439a9cc9110f47f7d5cdbeda79840ef5ea31" dependencies = [ - "winnow 1.0.4", + "winnow 1.0.5", ] [[package]] -name = "tower-service" -version = "0.3.2" +name = "toml_writer" +version = "1.2.0+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" +checksum = "009dbb7700f11c55ef83aebbe4c0e9cf1f1ac0844bd8d6f00dc38f302026e13a" [[package]] name = "tracing" @@ -4834,50 +4153,13 @@ dependencies = [ "tracing-core", ] -[[package]] -name = "try-lock" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" - -[[package]] -name = "typed-builder" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64cba322cb9b7bc6ca048de49e83918223f35e7a86311267013afff257004870" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "typed-builder" -version = "0.21.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fef81aec2ca29576f9f6ae8755108640d0a86dd3161b2e8bca6cfa554e98f77d" -dependencies = [ - "typed-builder-macro 0.21.2", -] - [[package]] name = "typed-builder" version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31aa81521b70f94402501d848ccc0ecaa8f93c8eb6999eb9747e72287757ffda" dependencies = [ - "typed-builder-macro 0.23.2", -] - -[[package]] -name = "typed-builder-macro" -version = "0.21.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ecb9ecf7799210407c14a8cfdfe0173365780968dc57973ed082211958e0b18" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", + "typed-builder-macro", ] [[package]] @@ -4897,12 +4179,6 @@ version = "1.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" -[[package]] -name = "ucd-trie" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" - [[package]] name = "uluru" version = "3.0.0" @@ -4959,13 +4235,14 @@ checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] name = "url" -version = "2.4.0" +version = "2.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" dependencies = [ "form_urlencoded", "idna", "percent-encoding", + "serde", ] [[package]] @@ -4974,12 +4251,27 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5190c9442dcdaf0ddd50f37420417d219ae5261bbf5db120d0f9bab996c9cba1" +[[package]] +name = "utf8_iter" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af3bd9d3e571c26fcce9d033b87ea5ab061b8d2ffe9b7a5675d810d68f03edf0" +dependencies = [ + "utf_types", +] + [[package]] name = "utf8parse" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" +[[package]] +name = "utf_types" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3b425286980a367278453f3b6d28cdcb134b574e5a35824a6ff5eebad50bb6" + [[package]] name = "uuid" version = "1.28.0" @@ -5040,15 +4332,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "want" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" -dependencies = [ - "try-lock", -] - [[package]] name = "wasi" version = "0.10.0+wasi-snapshot-preview1" @@ -5128,9 +4411,9 @@ dependencies = [ [[package]] name = "wasm-streams" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65" +checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb" dependencies = [ "futures-util", "js-sys", @@ -5139,6 +4422,28 @@ dependencies = [ "web-sys", ] +[[package]] +name = "wasm_split_helpers" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab578aae2fe2916edaea06843187d50f87b0965622da0ceef648edca27b385ba" +dependencies = [ + "async-once-cell", + "wasm_split_macros", +] + +[[package]] +name = "wasm_split_macros" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e653af7ee4a9ef0fce481a9ec6f43cb78de20d0cdb4f4f5862e1dc6e407e6c8" +dependencies = [ + "base16", + "quote", + "sha2 0.10.9", + "syn 2.0.119", +] + [[package]] name = "web-gen" version = "0.1.0" @@ -5149,7 +4454,7 @@ dependencies = [ "futures", "irust", "js-sys", - "leptos 0.8.2", + "leptos", "leptos_router", "rand 0.9.5", "serde", @@ -5388,34 +4693,25 @@ dependencies = [ [[package]] name = "winnow" -version = "0.7.15" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" +checksum = "8c3b93199df0ab874cdf0c6a94f0a0dc3423fe41f1cafb62b8bd7b1deb277aef" dependencies = [ "memchr", ] -[[package]] -name = "winnow" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" - -[[package]] -name = "winreg" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" -dependencies = [ - "winapi", -] - [[package]] name = "wit-bindgen" version = "0.57.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + [[package]] name = "xterm-query" version = "0.2.0" @@ -5434,19 +4730,81 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "550a2b930b62486a393c52d5c3b84bff264b28aa437ed64694d31e93b1757af7" [[package]] -name = "yaml-rust" -version = "0.4.5" +name = "yoke" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "417ef3fcf6c300b7dbd25c85531a746931c02ad536f3cf4786ed1e88223340b3" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" dependencies = [ - "linked-hash-map", + "proc-macro2", + "quote", + "syn 3.0.9", + "synstructure", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.9", + "synstructure", ] [[package]] -name = "yansi" -version = "1.0.0-rc" +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f58a2799cfe9a1670c7ea8edbd52ef8edb93cb37a7f83bf31ba9e35d9dae6a40" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ee746ad3851dd3bc40e4a028ab3b00b99278d929e48957bcb2d111874a7e43e" +checksum = "c3743ddbf47738d929cd1ae2e199d40d0162979dfe31aef8ae646d2bf00bf97a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.9", +] [[package]] name = "zmij" diff --git a/pkgs/web-gen/Cargo.toml b/pkgs/web-gen/Cargo.toml index 6052b5a35e..aed3dd13f0 100755 --- a/pkgs/web-gen/Cargo.toml +++ b/pkgs/web-gen/Cargo.toml @@ -12,8 +12,8 @@ color-eyre = "0.6.2" futures = "0.3.28" irust = "1.70.0" js-sys = "0.3.64" -leptos = { version = "0.8.0", features = ["csr", "nightly"] } -leptos_router = "0.4.5" +leptos = { version = "0.8.23", features = ["csr"] } +leptos_router = "0.8.17" rand = "0.9.0" serde = { version = "1.0.174", features = ["derive"] } sqlx = "0.9.0" diff --git a/pkgs/web-gen/rust-toolchain b/pkgs/web-gen/rust-toolchain index a3ee4a6346..2bf5ad0447 100755 --- a/pkgs/web-gen/rust-toolchain +++ b/pkgs/web-gen/rust-toolchain @@ -1 +1 @@ -nightly-2026-11-08 \ No newline at end of file +stable diff --git a/pkgs/web-gen/src/main.rs b/pkgs/web-gen/src/main.rs index 87a1a32ff9..23ea9c9d32 100755 --- a/pkgs/web-gen/src/main.rs +++ b/pkgs/web-gen/src/main.rs @@ -6,7 +6,8 @@ use leptos::ev::Event; use leptos::ev::SubmitEvent; use leptos::prelude::*; use leptos::*; -use leptos_router::*; +use leptos_router::components::Form; +use leptos_router::hooks::use_query_map; use rand::Rng; use std::str::FromStr; use tracing::info; @@ -20,43 +21,43 @@ use web_sys::HtmlInputElement; fn main() { // color_eyre::install().unwrap(); // info!("Starting app"); - leptos::mount_to_body(|cx| view! { cx, }) + leptos::mount::mount_to_body(App) } #[component] -fn App(cx: Scope) -> impl IntoView { - view! { cx, } +fn App() -> impl IntoView { + view! { } } #[component] -fn TestApp(cx: Scope) -> impl IntoView { +fn TestApp() -> impl IntoView { let default = 0; - let (count, set_count) = create_signal(cx, default); - let double_count = move || count() * 2; + let (count, set_count) = signal(default); + let double_count = move || count.get() * 2; let values = vec![1, 2, 4, 8, 16, 32, 49, 51]; let coins = vec![1, 5, 7, 12, 20, 50]; let length = 3; - let counters = (1..=length).map(|idx| create_signal(cx, idx)); + let counters = (1..=length).map(|idx| signal(idx)); - view! { cx, + view! {

"Hello, World!"



- +

"Double Count: " @@ -67,48 +68,48 @@ fn TestApp(cx: Scope) -> impl IntoView {

    values: {values.clone().into_iter() - .map(|n| view! { cx,
  • {n}
  • }) + .map(|n| view! {
  • {n}
  • }) .collect::>()}

    values*random: {values.clone().into_iter() - .map(|n| view! { cx,
  • {generate_random_number_and_multiply(n)}
  • }) - .collect_view(cx)} + .map(|n| view! {
  • {generate_random_number_and_multiply(n)}
  • }) + .collect_view()}

    coins: {coins.clone().into_iter() - .map(|n| view! { cx,
  • {n}
  • }) + .map(|n| view! {
  • {n}
  • }) .collect::>()}

    coins*random: {coins.clone().into_iter() - .map(|n| view! { cx,
  • {generate_random_number_and_multiply(n)}
  • }) - .collect_view(cx)} + .map(|n| view! {
  • {generate_random_number_and_multiply(n)}
  • }) + .collect_view()}

    coins_values_to_100: {coins.clone().into_iter() - .map(|n| view! { cx,
  • {generate_divisible_n_up_to_m(n, 100)}
  • }) - .collect_view(cx)} + .map(|n| view! {
  • {generate_divisible_i_from_n_up_to_m(n, n, 100)}
  • }) + .collect_view()}

    {counters .map(|(count, set_count)| { - view! { cx, + view! {
  • } }) - .collect_view(cx)} + .collect_view()}
//
// @@ -119,15 +120,14 @@ fn TestApp(cx: Scope) -> impl IntoView { #[component] fn ProgressBar( - cx: Scope, #[prop(default = 100)] max: u16, #[prop(into)] // #[prop(optional)] value: Signal, ) -> impl IntoView { - view! { cx, + view! { } } @@ -144,7 +144,7 @@ fn generate_divisible_i_from_n_up_to_m(i: i32, n: i32, m: i32) -> Vec<(i32, i32) while subject < m { let times_divisible = subject / i; - result.push((subject, number_of_times_divisible)); + result.push((subject, times_divisible)); subject += 1; } result @@ -182,8 +182,8 @@ fn generate_random_number_and_multiply_str_future( } #[component] -pub fn RandomMultiplierForm(cx: Scope) -> impl IntoView { - let (result, set_result) = create_signal(cx, "".to_string()); +pub fn RandomMultiplierForm() -> impl IntoView { + let (result, set_result) = signal("".to_string()); let submit = move |event: SubmitEvent| { event.prevent_default(); @@ -201,10 +201,10 @@ pub fn RandomMultiplierForm(cx: Scope) -> impl IntoView { if input.name() == "number" { if let Ok(num) = i32::from_str(&input.value()) { let result_val = generate_random_number_and_multiply(num); - set_result(format!("Result: {}", result_val)); + set_result.set(format!("Result: {}", result_val)); break; } else { - set_result("Invalid input".to_string()); + set_result.set("Invalid input".to_string()); break; } } @@ -212,11 +212,11 @@ pub fn RandomMultiplierForm(cx: Scope) -> impl IntoView { } } } else { - set_result("Invalid event".to_string()); + set_result.set("Invalid event".to_string()); } }; - view! { cx, + view! {
Number:
@@ -229,8 +229,8 @@ pub fn RandomMultiplierForm(cx: Scope) -> impl IntoView { // #[component] // pub fn FormExample(cx: Scope) -> impl IntoView { -// let (input_value, set_input_value) = create_signal(cx, String::new()); -// let (result, set_result) = create_signal(cx, String::new()); +// let (input_value, set_input_value) = signal(String::new()); +// let (result, set_result) = signal(String::new()); // create_effect(cx, move |_| { // let value = input_value().clone(); @@ -241,7 +241,7 @@ pub fn RandomMultiplierForm(cx: Scope) -> impl IntoView { // }); // }); -// view! { cx, +// view! { // // impl IntoView { // } #[component] -pub fn DetailedFormExample(cx: Scope) -> impl IntoView { +pub fn DetailedFormExample() -> impl IntoView { // reactive access to URL query - let query = use_query_map(cx); - let name = move || query().get("name").cloned().unwrap_or_default(); - let number = move || query().get("number").cloned().unwrap_or_default(); - let select = move || query().get("select").cloned().unwrap_or_default(); + let query = use_query_map(); + let name = move || query.get().get("name").unwrap_or_default(); + let number = move || query.get().get("number").unwrap_or_default(); + let select = move || query.get().get("select").unwrap_or_default(); - view! { cx, + view! { // read out the URL query strings