From 760122468052f6e46f207595a43ecca23df87e7b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 21 Dec 2024 03:53:11 +0000 Subject: [PATCH] Update Rust crate leptos-fluent to 0.2 --- Cargo.lock | 654 ++++++++++++++++++++++++++++++++++++++++++++++------- Cargo.toml | 2 +- 2 files changed, 568 insertions(+), 88 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index eaccd896..3efb019f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -333,6 +333,17 @@ dependencies = [ "libc", ] +[[package]] +name = "any_spawner" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41058deaa38c9d9dd933d6d238d825227cffa668e2839b52879f6619c63eee3b" +dependencies = [ + "futures", + "thiserror 2.0.8", + "wasm-bindgen-futures", +] + [[package]] name = "anyhow" version = "1.0.93" @@ -387,9 +398,23 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f1ee502851995027b06f99f5ffbeffa1406b38d0b318a1ebfa469332c6cbafd" dependencies = [ - "attribute-derive-macro", + "attribute-derive-macro 0.9.2", "derive-where", - "manyhow", + "manyhow 0.10.4", + "proc-macro2", + "quote", + "syn 2.0.87", +] + +[[package]] +name = "attribute-derive" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0053e96dd3bec5b4879c23a138d6ef26f2cb936c9cdc96274ac2b9ed44b5bb54" +dependencies = [ + "attribute-derive-macro 0.10.3", + "derive-where", + "manyhow 0.11.4", "proc-macro2", "quote", "syn 2.0.87", @@ -403,7 +428,7 @@ checksum = "3601467f634cfe36c4780ca9c75dea9a5b34529c1f2810676a337e7e0997f954" dependencies = [ "collection_literals", "interpolator", - "manyhow", + "manyhow 0.10.4", "proc-macro-utils 0.8.0", "proc-macro2", "quote", @@ -411,6 +436,22 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "attribute-derive-macro" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "463b53ad0fd5b460af4b1915fe045ff4d946d025fb6c4dc3337752eaa980f71b" +dependencies = [ + "collection_literals", + "interpolator", + "manyhow 0.11.4", + "proc-macro-utils 0.10.0", + "proc-macro2", + "quote", + "quote-use", + "syn 2.0.87", +] + [[package]] name = "autocfg" version = "1.4.0" @@ -534,9 +575,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ac0150caa2ae65ca5bd83f25c7de183dea78d4d366469f148435e2acfbad0da" +checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" [[package]] name = "bytestring" @@ -558,7 +599,7 @@ dependencies = [ "hashbrown 0.13.2", "instant", "once_cell", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -683,7 +724,9 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d3ad3122b0001c7f140cf4d605ef9a9e2c24d96ab0b4fb4347b76de2425f445" dependencies = [ - "thiserror", + "serde", + "serde_json", + "thiserror 1.0.69", ] [[package]] @@ -744,6 +787,12 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "const_str_slice_concat" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f67855af358fcb20fac58f9d714c94e2b228fe5694c1c9b4ead4a366343eda1b" + [[package]] name = "convert_case" version = "0.4.0" @@ -971,6 +1020,20 @@ 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.5", + "lock_api", + "once_cell", + "parking_lot_core", +] + [[package]] name = "default-struct-builder" version = "0.5.1" @@ -1100,6 +1163,15 @@ version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +[[package]] +name = "either_of" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d1e2e7b8b6deaf1ae68f1d8796dec8732cff85d27fdbf4bc4460145a067ed0b" +dependencies = [ + "pin-project-lite", +] + [[package]] name = "encoding_rs" version = "0.8.35" @@ -1208,7 +1280,7 @@ dependencies = [ "fluent-syntax", "intl-memoizer", "intl_pluralrules", - "rustc-hash", + "rustc-hash 1.1.0", "self_cell 0.10.3", "smallvec", "unic-langid", @@ -1229,7 +1301,7 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a530c4694a6a8d528794ee9bbd8ba0122e779629ac908d15ad5a7ae7763a33d" dependencies = [ - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1263,7 +1335,7 @@ dependencies = [ "intl-memoizer", "log", "once_cell", - "thiserror", + "thiserror 1.0.69", "unic-langid", "walkdir", ] @@ -1347,6 +1419,7 @@ dependencies = [ "futures-core", "futures-task", "futures-util", + "num_cpus", ] [[package]] @@ -1486,7 +1559,7 @@ dependencies = [ "pin-project", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -1517,6 +1590,12 @@ dependencies = [ "web-sys", ] +[[package]] +name = "guardian" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "493913a18c0d7bebb75127a26a432162c59edbe06f6cf712001e3e769345e8b5" + [[package]] name = "h2" version = "0.3.26" @@ -1682,6 +1761,20 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" +[[package]] +name = "hydration_context" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d35485b3dcbf7e044b8f28c73f04f13e7b509c2466fd10cb2a8a447e38f8a93a" +dependencies = [ + "futures", + "once_cell", + "or_poisoned", + "pin-project-lite", + "serde", + "throw_error", +] + [[package]] name = "hyper" version = "1.5.0" @@ -2078,7 +2171,7 @@ dependencies = [ "gloo-net", "http 1.1.0", "lemmy_api_common", - "leptos", + "leptos 0.6.15", "reqwest", "serde", "serde_json", @@ -2098,11 +2191,11 @@ dependencies = [ "console_error_panic_hook", "fluent-templates", "lemmy-client", - "leptos", + "leptos 0.6.15", "leptos-fluent", "leptos-use", "leptos_actix", - "leptos_meta", + "leptos_meta 0.6.15", "leptos_router", "markdown-it", "markdown-it-block-spoiler", @@ -2221,12 +2314,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0cbb3237c274dadf00dcc27db96c52601b40375117178fb24a991cda073624f0" dependencies = [ "cfg-if", - "leptos_config", - "leptos_dom", - "leptos_macro", + "leptos_config 0.6.15", + "leptos_dom 0.6.15", + "leptos_macro 0.6.15", "leptos_reactive", - "leptos_server", - "server_fn", + "leptos_server 0.6.15", + "server_fn 0.6.15", "tracing", "typed-builder 0.18.2", "typed-builder-macro 0.18.2", @@ -2234,24 +2327,59 @@ dependencies = [ "web-sys", ] +[[package]] +name = "leptos" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "748f262c2500fdd84fa68ecf82adaf40b95129720593c79a5988cb040b311d97" +dependencies = [ + "any_spawner", + "cfg-if", + "either_of", + "futures", + "hydration_context", + "leptos_config 0.7.1", + "leptos_dom 0.7.1", + "leptos_hot_reload 0.7.1", + "leptos_macro 0.7.1", + "leptos_server 0.7.1", + "oco_ref 0.2.0", + "or_poisoned", + "paste", + "reactive_graph", + "rustc-hash 2.1.0", + "send_wrapper", + "serde", + "serde_qs 0.13.0", + "server_fn 0.7.1", + "slotmap", + "tachys", + "thiserror 2.0.8", + "throw_error", + "typed-builder 0.20.0", + "typed-builder-macro 0.20.0", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "leptos-fluent" -version = "0.1.26" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b70687dd09e7d3f483dc293d6b8e871a067a45336513cb92915755c6ce2496c9" +checksum = "895e52fde32942045e0eaf12e0c0088088e54cba5d4a9eb394347fedbe2eeb70" dependencies = [ "fluent-templates", - "leptos", + "leptos 0.7.1", "leptos-fluent-macros", - "leptos_meta", + "leptos_meta 0.7.1", "web-sys", ] [[package]] name = "leptos-fluent-macros" -version = "0.1.26" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68d29e3b8115374be879e590ad8f1234c76fcea1e26e677d3d569dad3e9c2220" +checksum = "1d2e13c89120d3d97417c089f6ecd4b48a9af71ffa1866fc226c92358578c2b2" dependencies = [ "cfg-expr", "current_platform", @@ -2259,11 +2387,8 @@ dependencies = [ "fluent-templates", "globwalk", "pathdiff", - "proc-macro-warning", "proc-macro2", "quote", - "serde", - "serde_json", "syn 2.0.87", "walkdir", ] @@ -2282,9 +2407,9 @@ dependencies = [ "gloo-timers", "js-sys", "lazy_static", - "leptos", + "leptos 0.6.15", "paste", - "thiserror", + "thiserror 1.0.69", "unic-langid", "wasm-bindgen", "wasm-bindgen-futures", @@ -2300,15 +2425,15 @@ dependencies = [ "actix-http", "actix-web", "futures", - "leptos", + "leptos 0.6.15", "leptos_integration_utils", - "leptos_macro", - "leptos_meta", + "leptos_macro 0.6.15", + "leptos_meta 0.6.15", "leptos_router", "parking_lot", "regex", "serde_json", - "server_fn", + "server_fn 0.6.15", "tokio", "tracing", ] @@ -2322,10 +2447,23 @@ dependencies = [ "config", "regex", "serde", - "thiserror", + "thiserror 1.0.69", "typed-builder 0.18.2", ] +[[package]] +name = "leptos_config" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d84757c6532fc724c45a7ccb4b7cf69614480eb11680bad9752d6a561db6287" +dependencies = [ + "config", + "regex", + "serde", + "thiserror 2.0.8", + "typed-builder 0.20.0", +] + [[package]] name = "leptos_dom" version = "0.6.15" @@ -2345,10 +2483,10 @@ dependencies = [ "once_cell", "pad-adapter", "paste", - "rustc-hash", + "rustc-hash 1.1.0", "serde", "serde_json", - "server_fn", + "server_fn 0.6.15", "smallvec", "tracing", "wasm-bindgen", @@ -2356,6 +2494,21 @@ dependencies = [ "web-sys", ] +[[package]] +name = "leptos_dom" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a19dae83ed684680c49e26ca884fa414c3db19e757927753c65f95e19e9a1846" +dependencies = [ + "js-sys", + "or_poisoned", + "reactive_graph", + "send_wrapper", + "tachys", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "leptos_hot_reload" version = "0.6.15" @@ -2368,7 +2521,25 @@ dependencies = [ "parking_lot", "proc-macro2", "quote", - "rstml", + "rstml 0.11.2", + "serde", + "syn 2.0.87", + "walkdir", +] + +[[package]] +name = "leptos_hot_reload" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "744cb94044da4a43b07de1e6890efa973f4d1732fd1177bc941bc5933e180523" +dependencies = [ + "anyhow", + "camino", + "indexmap 2.6.0", + "parking_lot", + "proc-macro2", + "quote", + "rstml 0.12.0", "serde", "syn 2.0.87", "walkdir", @@ -2381,10 +2552,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a96976631c2225ec116a7bf9c0ed5bf6999a19fed33f5e3cbcf37af44c384dc" dependencies = [ "futures", - "leptos", - "leptos_config", - "leptos_hot_reload", - "leptos_meta", + "leptos 0.6.15", + "leptos_config 0.6.15", + "leptos_hot_reload 0.6.15", + "leptos_meta 0.6.15", "tracing", ] @@ -2394,23 +2565,45 @@ version = "0.6.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b13bc3db70715cd8218c4535a5af3ae3c0e5fea6f018531fc339377b36bc0e0" dependencies = [ - "attribute-derive", + "attribute-derive 0.9.2", "cfg-if", "convert_case 0.6.0", "html-escape", "itertools 0.12.1", - "leptos_hot_reload", + "leptos_hot_reload 0.6.15", "prettyplease", "proc-macro-error2", "proc-macro2", "quote", - "rstml", - "server_fn_macro", + "rstml 0.11.2", + "server_fn_macro 0.6.15", "syn 2.0.87", "tracing", "uuid", ] +[[package]] +name = "leptos_macro" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "303e41bcd81b290e6c9890fd8e7d8cd989d96d352affbd4e8792efe5a8b21cb8" +dependencies = [ + "attribute-derive 0.10.3", + "cfg-if", + "convert_case 0.6.0", + "html-escape", + "itertools 0.13.0", + "leptos_hot_reload 0.7.1", + "prettyplease", + "proc-macro-error2", + "proc-macro2", + "quote", + "rstml 0.12.0", + "server_fn_macro 0.7.1", + "syn 2.0.87", + "uuid", +] + [[package]] name = "leptos_meta" version = "0.6.15" @@ -2419,12 +2612,28 @@ checksum = "25acc2f63cf91932013e400a95bf6e35e5d3dbb44a7b7e25a8e3057d12005b3b" dependencies = [ "cfg-if", "indexmap 2.6.0", - "leptos", + "leptos 0.6.15", "tracing", "wasm-bindgen", "web-sys", ] +[[package]] +name = "leptos_meta" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de8e47639a539f473338dc44ca67262c9bda7444024abd1479f45474140a221" +dependencies = [ + "futures", + "indexmap 2.6.0", + "leptos 0.7.1", + "once_cell", + "or_poisoned", + "send_wrapper", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "leptos_reactive" version = "0.6.15" @@ -2436,16 +2645,16 @@ dependencies = [ "futures", "indexmap 2.6.0", "js-sys", - "oco_ref", + "oco_ref 0.1.1", "paste", "pin-project", - "rustc-hash", + "rustc-hash 1.1.0", "self_cell 1.0.4", "serde", "serde-wasm-bindgen", "serde_json", "slotmap", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "wasm-bindgen", @@ -2465,9 +2674,9 @@ dependencies = [ "itertools 0.12.1", "js-sys", "lazy_static", - "leptos", + "leptos 0.6.15", "leptos_integration_utils", - "leptos_meta", + "leptos_meta 0.6.15", "linear-map", "lru", "once_cell", @@ -2477,7 +2686,7 @@ dependencies = [ "serde", "serde_json", "serde_qs 0.13.0", - "thiserror", + "thiserror 1.0.69", "tracing", "url", "wasm-bindgen", @@ -2493,14 +2702,34 @@ checksum = "4a97eb90a13f71500b831c7119ddd3bdd0d7ae0a6b0487cade4fddeed3b8c03f" dependencies = [ "inventory", "lazy_static", - "leptos_macro", + "leptos_macro 0.6.15", "leptos_reactive", "serde", - "server_fn", - "thiserror", + "server_fn 0.6.15", + "thiserror 1.0.69", "tracing", ] +[[package]] +name = "leptos_server" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c3ed98f60b2322fbcfb59551e89a0501dea7e6e0304993fc4faacf12b25b8de" +dependencies = [ + "any_spawner", + "base64 0.22.1", + "codee", + "futures", + "hydration_context", + "or_poisoned", + "reactive_graph", + "send_wrapper", + "serde", + "serde_json", + "server_fn 0.7.1", + "tachys", +] + [[package]] name = "libc" version = "0.2.162" @@ -2592,7 +2821,19 @@ version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f91ea592d76c0b6471965708ccff7e6a5d277f676b90ab31f4d3f3fc77fade64" dependencies = [ - "manyhow-macros", + "manyhow-macros 0.10.4", + "proc-macro2", + "quote", + "syn 2.0.87", +] + +[[package]] +name = "manyhow" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b33efb3ca6d3b07393750d4030418d594ab1139cee518f0dc88db70fec873587" +dependencies = [ + "manyhow-macros 0.11.4", "proc-macro2", "quote", "syn 2.0.87", @@ -2609,6 +2850,17 @@ dependencies = [ "quote", ] +[[package]] +name = "manyhow-macros" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46fce34d199b78b6e6073abf984c9cf5fd3e9330145a93ee0738a7443e371495" +dependencies = [ + "proc-macro-utils 0.10.0", + "proc-macro2", + "quote", +] + [[package]] name = "markdown-it" version = "0.6.1" @@ -2759,7 +3011,7 @@ dependencies = [ "rustc_version", "smallvec", "tagptr", - "thiserror", + "thiserror 1.0.69", "triomphe", "uuid", ] @@ -2781,6 +3033,12 @@ dependencies = [ "tempfile", ] +[[package]] +name = "next_tuple" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60993920e071b0c9b66f14e2b32740a4e27ffc82854dcd72035887f336a09a28" + [[package]] name = "nom" version = "7.1.3" @@ -2806,6 +3064,16 @@ dependencies = [ "autocfg", ] +[[package]] +name = "num_cpus" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +dependencies = [ + "hermit-abi", + "libc", +] + [[package]] name = "object" version = "0.36.5" @@ -2822,7 +3090,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c51ebcefb2f0b9a5e0bea115532c8ae4215d1b01eff176d0f4ba4192895c2708" dependencies = [ "serde", - "thiserror", + "thiserror 1.0.69", +] + +[[package]] +name = "oco_ref" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64b94982fe39a861561cf67ff17a7849f2cedadbbad960a797634032b7abb998" +dependencies = [ + "serde", + "thiserror 1.0.69", ] [[package]] @@ -2881,6 +3159,12 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "or_poisoned" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c04f5d74368e4d0dfe06c45c8627c81bd7c317d52762d118fb9b3076f6420fd" + [[package]] name = "pad-adapter" version = "0.1.1" @@ -3079,6 +3363,7 @@ dependencies = [ "proc-macro-error-attr2", "proc-macro2", "quote", + "syn 2.0.87", ] [[package]] @@ -3109,17 +3394,6 @@ dependencies = [ "smallvec", ] -[[package]] -name = "proc-macro-warning" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.87", -] - [[package]] name = "proc-macro2" version = "1.0.89" @@ -3245,6 +3519,55 @@ dependencies = [ "bitflags 2.6.0", ] +[[package]] +name = "reactive_graph" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04db00da5327bfd67a75b8d39dd1e8dff14509f375f0618110e30d28d4fbea0d" +dependencies = [ + "any_spawner", + "async-lock", + "futures", + "guardian", + "hydration_context", + "or_poisoned", + "pin-project-lite", + "rustc-hash 2.1.0", + "send_wrapper", + "serde", + "slotmap", + "thiserror 2.0.8", + "web-sys", +] + +[[package]] +name = "reactive_stores" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f33541f7a3786b547492406c23e6f798f8f4e36a4d40947d4b3700a23f75b1a9" +dependencies = [ + "guardian", + "itertools 0.13.0", + "or_poisoned", + "paste", + "reactive_graph", + "reactive_stores_macro", + "rustc-hash 2.1.0", +] + +[[package]] +name = "reactive_stores_macro" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d86e4f08f361b05d11422398cef4bc4cf356f2fdd2f06a96646b0e9cd902226" +dependencies = [ + "convert_case 0.6.0", + "proc-macro-error2", + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "readonly" version = "0.2.12" @@ -3400,7 +3723,22 @@ dependencies = [ "quote", "syn 2.0.87", "syn_derive", - "thiserror", + "thiserror 1.0.69", +] + +[[package]] +name = "rstml" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51187e564f12336ef40cd04f6f4d805d6919188001dcf1e0a021898ea0fe28ce" +dependencies = [ + "derive-where", + "proc-macro2", + "proc-macro2-diagnostics", + "quote", + "syn 2.0.87", + "syn_derive", + "thiserror 1.0.69", ] [[package]] @@ -3415,6 +3753,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +[[package]] +name = "rustc-hash" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" + [[package]] name = "rustc_version" version = "0.4.1" @@ -3592,7 +3936,7 @@ checksum = "0431a35568651e363364210c91983c1da5eb29404d9f0928b67d4ebcfa7d330c" dependencies = [ "percent-encoding", "serde", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3603,7 +3947,7 @@ checksum = "cd34f36fe4c5ba9654417139a9b3a20d2e1de6012ee678ad14d240c22c78d8d6" dependencies = [ "percent-encoding", "serde", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3676,7 +4020,7 @@ dependencies = [ "bytes", "ciborium", "const_format", - "dashmap", + "dashmap 5.5.3", "futures", "gloo-net", "http 1.1.0", @@ -3687,8 +4031,38 @@ dependencies = [ "serde", "serde_json", "serde_qs 0.12.0", - "server_fn_macro_default", - "thiserror", + "server_fn_macro_default 0.6.15", + "thiserror 1.0.69", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", + "xxhash-rust", +] + +[[package]] +name = "server_fn" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d772b0157b8c53531bab84fd0828d863887e760cefaa0a1b62ea35e798679bdd" +dependencies = [ + "bytes", + "const_format", + "dashmap 6.1.0", + "futures", + "gloo-net", + "http 1.1.0", + "js-sys", + "once_cell", + "pin-project-lite", + "send_wrapper", + "serde", + "serde_json", + "serde_qs 0.13.0", + "server_fn_macro_default 0.7.1", + "thiserror 2.0.8", + "throw_error", "url", "wasm-bindgen", "wasm-bindgen-futures", @@ -3711,13 +4085,37 @@ dependencies = [ "xxhash-rust", ] +[[package]] +name = "server_fn_macro" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecc854602f6cdb97b14c05a63bd559c345c8b23493f923631035816e825079d0" +dependencies = [ + "const_format", + "convert_case 0.6.0", + "proc-macro2", + "quote", + "syn 2.0.87", + "xxhash-rust", +] + [[package]] name = "server_fn_macro_default" version = "0.6.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f2aa8119b558a17992e0ac1fd07f080099564f24532858811ce04f742542440" dependencies = [ - "server_fn_macro", + "server_fn_macro 0.6.15", + "syn 2.0.87", +] + +[[package]] +name = "server_fn_macro_default" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e032bffdfd7824809edadc998e03f64e58aaf8fb1003daa3499a5f2be59d010" +dependencies = [ + "server_fn_macro 0.7.1", "syn 2.0.87", ] @@ -3818,7 +4216,7 @@ dependencies = [ "cfg-if", "libc", "psm", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -3932,11 +4330,43 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "thiserror", + "thiserror 1.0.69", "walkdir", "yaml-rust", ] +[[package]] +name = "tachys" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d58c55a03d74acc30e117bdbb5db95c7d66ce81368ba7c5fa57f175b1be045ec" +dependencies = [ + "any_spawner", + "const_str_slice_concat", + "drain_filter_polyfill", + "either_of", + "futures", + "html-escape", + "indexmap 2.6.0", + "itertools 0.13.0", + "js-sys", + "linear-map", + "next_tuple", + "oco_ref 0.2.0", + "once_cell", + "or_poisoned", + "parking_lot", + "paste", + "reactive_graph", + "reactive_stores", + "rustc-hash 2.1.0", + "send_wrapper", + "slotmap", + "throw_error", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "tagptr" version = "0.2.0" @@ -3975,7 +4405,7 @@ dependencies = [ "fastrand", "once_cell", "rustix", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -3984,7 +4414,16 @@ version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08f5383f3e0071702bf93ab5ee99b52d26936be9dedd9413067cbdcddcb6141a" +dependencies = [ + "thiserror-impl 2.0.8", ] [[package]] @@ -3998,6 +4437,26 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "thiserror-impl" +version = "2.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f357fcec90b3caef6623a099691be676d033b40a058ac95d2a6ade6fa0c943" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + +[[package]] +name = "throw_error" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4ef8bf264c6ae02a065a4a16553283f0656bd6266fc1fcb09fd2e6b5e91427b" +dependencies = [ + "pin-project-lite", +] + [[package]] name = "time" version = "0.3.36" @@ -4213,7 +4672,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "deb68604048ff8fa93347f02441e4487594adc20bb8a084f9e564d2b827a0a9f" dependencies = [ - "rustc-hash", + "rustc-hash 1.1.0", ] [[package]] @@ -4234,6 +4693,15 @@ dependencies = [ "typed-builder-macro 0.19.1", ] +[[package]] +name = "typed-builder" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e14ed59dc8b7b26cacb2a92bad2e8b1f098806063898ab42a3bd121d7d45e75" +dependencies = [ + "typed-builder-macro 0.20.0", +] + [[package]] name = "typed-builder-macro" version = "0.18.2" @@ -4256,6 +4724,17 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "typed-builder-macro" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "560b82d656506509d43abe30e0ba64c56b1953ab3d4fe7ba5902747a7a3cedd5" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "typenum" version = "1.17.0" @@ -4476,12 +4955,13 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.45" +version = "0.4.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc7ec4f8827a71586374db3e87abdb5a2bb3a15afed140221307c3ec06b1f63b" +checksum = "b4007dab1104b64ea300f9747c65bd1cb0db91d17ca1fcbae1de4fd0ddd2eed0" dependencies = [ "cfg-if", "js-sys", + "once_cell", "wasm-bindgen", "web-sys", ] @@ -4517,9 +4997,9 @@ checksum = "ca611a57a1702cd164e52614edb4a68dc3e7a910a4524da9c071b5bef5896fb9" [[package]] name = "wasm-streams" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e072d4e72f700fb3443d8fe94a39315df013eef1104903cdb0a2abd322bbecd" +checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65" dependencies = [ "futures-util", "js-sys", @@ -4560,7 +5040,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 86391ccd..8b1228a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ leptos-use = "0.13" pretty-num = "0.1" tailwind_fuse = { version = "0.3", features = ["variant"] } web-sys = { version = "0.3", optional = true, features = ["Url"] } -leptos-fluent = { version = "0.1", features = ["actix"] } +leptos-fluent = { version = "0.2", features = ["actix"] } fluent-templates = "0.11" chrono = "0.4.38" markdown-it = "0.6"