diff --git a/sources/web-gen-api-axum/Cargo.toml b/sources/web-gen-api-axum/Cargo.toml index 2bf8acc4..c977dc75 100755 --- a/sources/web-gen-api-axum/Cargo.toml +++ b/sources/web-gen-api-axum/Cargo.toml @@ -11,7 +11,7 @@ axum = { version = "0.6.4", optional = true } console_error_panic_hook = "0.1" console_log = "1" cfg-if = "1" -leptos = { version = "0.4", features = ["nightly"] } +leptos = { version = "0.5", features = ["nightly"] } leptos_axum = { version = "0.4", optional = true } leptos_meta = { version = "0.4", features = ["nightly"] } leptos_router = { version = "0.4", features = ["nightly"] } diff --git a/sources/web-gen-api/Cargo.lock b/sources/web-gen-api/Cargo.lock index 588c4122..f66ab758 100755 --- a/sources/web-gen-api/Cargo.lock +++ b/sources/web-gen-api/Cargo.lock @@ -308,7 +308,19 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c124f12ade4e670107b132722d0ad1a5c9790bcbc1b265336369ea05626b4498" dependencies = [ - "attribute-derive-macro", + "attribute-derive-macro 0.6.1", + "proc-macro2", + "quote", + "syn 2.0.27", +] + +[[package]] +name = "attribute-derive" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c94f43ede6f25dab1dea046bff84d85dea61bd49aba7a9011ad66c0d449077b" +dependencies = [ + "attribute-derive-macro 0.8.1", "proc-macro2", "quote", "syn 2.0.27", @@ -330,6 +342,22 @@ dependencies = [ "syn 2.0.27", ] +[[package]] +name = "attribute-derive-macro" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b409e2b2d2dc206d2c0ad3575a93f001ae21a1593e2d0c69b69c308e63f3b422" +dependencies = [ + "collection_literals", + "interpolator", + "manyhow", + "proc-macro-utils", + "proc-macro2", + "quote", + "quote-use", + "syn 2.0.27", +] + [[package]] name = "autocfg" version = "1.1.0" @@ -369,6 +397,18 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +[[package]] +name = "bitvec" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" +dependencies = [ + "funty", + "radium", + "tap", + "wyz", +] + [[package]] name = "block-buffer" version = "0.10.4" @@ -405,6 +445,29 @@ version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" +[[package]] +name = "bytecheck" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b6372023ac861f6e6dc89c8344a8f398fb42aaba2b5dbc649ca0c0e9dbcb627" +dependencies = [ + "bytecheck_derive", + "ptr_meta", + "simdutf8", + "uuid", +] + +[[package]] +name = "bytecheck_derive" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7ec4c6f261935ad534c0c22dbef2201b45918860eb1c574b972bd213a76af61" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "bytes" version = "1.4.0" @@ -771,6 +834,12 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + [[package]] name = "futures" version = "0.3.28" @@ -1122,6 +1191,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.9" @@ -1176,14 +1254,34 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c0a4a89ba2d4c0932d57c5866b2f7cd07f5e3b0516266a4d5a734653d5fba2e" dependencies = [ "cfg-if", - "leptos_config", - "leptos_dom", - "leptos_macro", - "leptos_reactive", - "leptos_server", - "server_fn", + "leptos_config 0.4.5", + "leptos_dom 0.4.5", + "leptos_macro 0.4.5", + "leptos_reactive 0.4.5", + "leptos_server 0.4.5", + "server_fn 0.4.5", + "tracing", + "typed-builder 0.14.0", +] + +[[package]] +name = "leptos" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e21fa20494987b6c5522a150c4075770fda9085c1ba714856015530e63b7180e" +dependencies = [ + "cfg-if", + "leptos_config 0.5.3", + "leptos_dom 0.5.3", + "leptos_macro 0.5.3", + "leptos_reactive 0.5.3", + "leptos_server 0.5.3", + "server_fn 0.5.3", "tracing", - "typed-builder", + "typed-builder 0.18.0", + "typed-builder-macro", + "wasm-bindgen", + "web-sys", ] [[package]] @@ -1195,7 +1293,7 @@ dependencies = [ "actix-http", "actix-web", "futures", - "leptos", + "leptos 0.4.5", "leptos_integration_utils", "leptos_meta", "leptos_router", @@ -1215,7 +1313,20 @@ dependencies = [ "regex", "serde", "thiserror", - "typed-builder", + "typed-builder 0.14.0", +] + +[[package]] +name = "leptos_config" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22604a419f1c6eb8fb0e2ab3563b23a53500f942b09cbeddc5bfa8f223bf839a" +dependencies = [ + "config", + "regex", + "serde", + "thiserror", + "typed-builder 0.18.0", ] [[package]] @@ -1232,15 +1343,45 @@ dependencies = [ "getrandom", "html-escape", "indexmap 2.0.0", - "itertools", + "itertools 0.10.5", "js-sys", - "leptos_reactive", + "leptos_reactive 0.4.5", "once_cell", "pad-adapter", "paste", "rustc-hash", "serde_json", - "server_fn", + "server_fn 0.4.5", + "smallvec", + "tracing", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "leptos_dom" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89ef6c9802c3f3b94286c88b0c18299bad87f9ce8559a6b8e8f64bd70d4df8f" +dependencies = [ + "async-recursion", + "cfg-if", + "drain_filter_polyfill", + "futures", + "getrandom", + "html-escape", + "indexmap 2.0.0", + "itertools 0.10.5", + "js-sys", + "leptos_reactive 0.5.3", + "once_cell", + "pad-adapter", + "paste", + "rustc-hash", + "serde", + "serde_json", + "server_fn 0.5.3", "smallvec", "tracing", "wasm-bindgen", @@ -1260,7 +1401,25 @@ dependencies = [ "parking_lot", "proc-macro2", "quote", - "rstml", + "rstml 0.10.6", + "serde", + "syn 2.0.27", + "walkdir", +] + +[[package]] +name = "leptos_hot_reload" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fce5cdf38f701bed1ea8ce7f09840a1d8d18ad2401a74bed1b67c1a729005a82" +dependencies = [ + "anyhow", + "camino", + "indexmap 2.0.0", + "parking_lot", + "proc-macro2", + "quote", + "rstml 0.11.2", "serde", "syn 2.0.27", "walkdir", @@ -1273,9 +1432,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0da7938fd9460e24ade3545864db2f483f1e4c39c9e8e5348d53a7d7fd154b" dependencies = [ "futures", - "leptos", - "leptos_config", - "leptos_hot_reload", + "leptos 0.4.5", + "leptos_config 0.4.5", + "leptos_hot_reload 0.4.5", "leptos_meta", "tracing", ] @@ -1286,18 +1445,41 @@ version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "246d4708c0778dbd747253d0bfc213e4f996c530b9b02278d58941a7241a132f" dependencies = [ - "attribute-derive", + "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", + "proc-macro-error", + "proc-macro2", + "quote", + "rstml 0.10.6", + "server_fn_macro 0.4.5", + "syn 2.0.27", + "tracing", + "uuid", +] + +[[package]] +name = "leptos_macro" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26347fd31cea6d93f7facdae0d9abfc302ee2f6f1df75132831b85d26b8192ad" +dependencies = [ + "attribute-derive 0.8.1", "cfg-if", "convert_case 0.6.0", "html-escape", - "itertools", - "leptos_hot_reload", + "itertools 0.11.0", + "leptos_hot_reload 0.5.3", "prettyplease", "proc-macro-error", "proc-macro2", "quote", - "rstml", - "server_fn_macro", + "rstml 0.11.2", + "server_fn_macro 0.5.3", "syn 2.0.27", "tracing", "uuid", @@ -1311,7 +1493,7 @@ checksum = "88ec678031e0dcea324413c92f6293f0c718dbd587184d1484d0e271a0acc2c1" dependencies = [ "cfg-if", "indexmap 2.0.0", - "leptos", + "leptos 0.4.5", "tracing", "wasm-bindgen", "web-sys", @@ -1342,6 +1524,34 @@ dependencies = [ "web-sys", ] +[[package]] +name = "leptos_reactive" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3eb42529421c5777d2045e2e6b5809fc1f568eeacc2e4f88cc8d7b24651842a7" +dependencies = [ + "base64 0.21.2", + "cfg-if", + "futures", + "indexmap 2.0.0", + "js-sys", + "paste", + "pin-project", + "rkyv", + "rustc-hash", + "self_cell", + "serde", + "serde-wasm-bindgen", + "serde_json", + "slotmap", + "thiserror", + "tokio", + "tracing", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + [[package]] name = "leptos_router" version = "0.4.5" @@ -1354,7 +1564,7 @@ dependencies = [ "gloo-net", "js-sys", "lazy_static", - "leptos", + "leptos 0.4.5", "linear-map", "log", "lru", @@ -1380,9 +1590,25 @@ checksum = "a9aed5fb93e67df8f8f3cc1e8560039b080377baab544b1228e34f17c94feaa6" dependencies = [ "inventory", "lazy_static", - "leptos_reactive", + "leptos_reactive 0.4.5", "serde", - "server_fn", + "server_fn 0.4.5", + "thiserror", + "tracing", +] + +[[package]] +name = "leptos_server" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38a65659b37d296ce80518c84168cb62057256bb99a85669304a8025b48cbced" +dependencies = [ + "inventory", + "lazy_static", + "leptos_macro 0.5.3", + "leptos_reactive 0.5.3", + "serde", + "server_fn 0.5.3", "thiserror", "tracing", ] @@ -1396,7 +1622,7 @@ dependencies = [ "cfg-if", "console_error_panic_hook", "http", - "leptos", + "leptos 0.5.3", "leptos_actix", "leptos_meta", "leptos_router", @@ -1468,6 +1694,29 @@ dependencies = [ "hashbrown 0.13.2", ] +[[package]] +name = "manyhow" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "516b76546495d933baa165075b95c0a15e8f7ef75e53f56b19b7144d80fd52bd" +dependencies = [ + "manyhow-macros", + "proc-macro2", + "quote", + "syn 2.0.27", +] + +[[package]] +name = "manyhow-macros" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ba072c0eadade3160232e70893311f1f8903974488096e2eb8e48caba2f0cf1" +dependencies = [ + "proc-macro-utils", + "proc-macro2", + "quote", +] + [[package]] name = "memchr" version = "2.5.0" @@ -1794,6 +2043,26 @@ dependencies = [ "yansi", ] +[[package]] +name = "ptr_meta" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1" +dependencies = [ + "ptr_meta_derive", +] + +[[package]] +name = "ptr_meta_derive" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "quote" version = "1.0.31" @@ -1815,6 +2084,12 @@ dependencies = [ "syn 2.0.27", ] +[[package]] +name = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + [[package]] name = "rand" version = "0.8.5" @@ -1883,6 +2158,15 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" +[[package]] +name = "rend" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2571463863a6bd50c32f94402933f03457a3fbaf697a707c5be741e459f08fd" +dependencies = [ + "bytecheck", +] + [[package]] name = "reqwest" version = "0.11.18" @@ -1917,6 +2201,34 @@ dependencies = [ "winreg", ] +[[package]] +name = "rkyv" +version = "0.7.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0200c8230b013893c0b2d6213d6ec64ed2b9be2e0e016682b7224ff82cff5c58" +dependencies = [ + "bitvec", + "bytecheck", + "hashbrown 0.12.3", + "ptr_meta", + "rend", + "rkyv_derive", + "seahash", + "tinyvec", + "uuid", +] + +[[package]] +name = "rkyv_derive" +version = "0.7.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2e06b915b5c230a17d7a736d1e2e63ee753c256a8614ef3f5147b13a4f5541d" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "ron" version = "0.7.1" @@ -1942,6 +2254,20 @@ dependencies = [ "thiserror", ] +[[package]] +name = "rstml" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe542870b8f59dd45ad11d382e5339c9a1047cde059be136a7016095bbdefa77" +dependencies = [ + "proc-macro2", + "proc-macro2-diagnostics", + "quote", + "syn 2.0.27", + "syn_derive", + "thiserror", +] + [[package]] name = "rust-ini" version = "0.18.0" @@ -1994,6 +2320,12 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +[[package]] +name = "seahash" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" + [[package]] name = "self_cell" version = "1.0.1" @@ -2099,7 +2431,32 @@ dependencies = [ "serde", "serde_json", "serde_qs", - "server_fn_macro_default", + "server_fn_macro_default 0.4.5", + "syn 2.0.27", + "thiserror", + "xxhash-rust", +] + +[[package]] +name = "server_fn" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91803d0fe7d4edae5c8a01d18201a301c39b5743859916f62813f1ce3cdd9963" +dependencies = [ + "ciborium", + "const_format", + "gloo-net", + "inventory", + "js-sys", + "lazy_static", + "once_cell", + "proc-macro2", + "quote", + "reqwest", + "serde", + "serde_json", + "serde_qs", + "server_fn_macro_default 0.5.3", "syn 2.0.27", "thiserror", "xxhash-rust", @@ -2120,13 +2477,38 @@ dependencies = [ "xxhash-rust", ] +[[package]] +name = "server_fn_macro" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d48924ee63629b7bd3a40e54d860e85409fbc6309d9976f56aa09ff3e0ee814" +dependencies = [ + "const_format", + "proc-macro-error", + "proc-macro2", + "quote", + "serde", + "syn 2.0.27", + "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", + "server_fn_macro 0.4.5", + "syn 2.0.27", +] + +[[package]] +name = "server_fn_macro_default" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87efab27df8d2a86033c07c937c83d9ad9ef71b915d2a91eba1566814ffc0e87" +dependencies = [ + "server_fn_macro 0.5.3", "syn 2.0.27", ] @@ -2161,6 +2543,12 @@ dependencies = [ "libc", ] +[[package]] +name = "simdutf8" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" + [[package]] name = "slab" version = "0.4.8" @@ -2236,6 +2624,12 @@ dependencies = [ "syn 2.0.27", ] +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + [[package]] name = "thiserror" version = "1.0.44" @@ -2407,6 +2801,26 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "typed-builder" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e47c0496149861b7c95198088cbf36645016b1a0734cf350c50e2a38e070f38a" +dependencies = [ + "typed-builder-macro", +] + +[[package]] +name = "typed-builder-macro" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "982ee4197351b5c9782847ef5ec1fdcaf50503fb19d68f9771adae314e72b492" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.27", +] + [[package]] name = "typenum" version = "1.16.0" @@ -2700,6 +3114,15 @@ dependencies = [ "winapi", ] +[[package]] +name = "wyz" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +dependencies = [ + "tap", +] + [[package]] name = "xxhash-rust" version = "0.8.6" diff --git a/sources/web-gen-api/Cargo.toml b/sources/web-gen-api/Cargo.toml index b8d4e3fb..47822a80 100755 --- a/sources/web-gen-api/Cargo.toml +++ b/sources/web-gen-api/Cargo.toml @@ -12,7 +12,7 @@ actix-web = { version = "4", optional = true, features = ["macros"] } console_error_panic_hook = "0.1" cfg-if = "1" http = { version = "0.2", optional = true } -leptos = { version = "0.4", features = ["nightly"] } +leptos = { version = "0.5", features = ["nightly"] } leptos_meta = { version = "0.4", features = ["nightly"] } leptos_actix = { version = "0.4", optional = true } leptos_router = { version = "0.4", features = ["nightly"] } diff --git a/sources/web-gen/Cargo.lock b/sources/web-gen/Cargo.lock index ea2df3e2..783ba942 100755 --- a/sources/web-gen/Cargo.lock +++ b/sources/web-gen/Cargo.lock @@ -180,7 +180,19 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c124f12ade4e670107b132722d0ad1a5c9790bcbc1b265336369ea05626b4498" dependencies = [ - "attribute-derive-macro", + "attribute-derive-macro 0.6.1", + "proc-macro2", + "quote", + "syn 2.0.26", +] + +[[package]] +name = "attribute-derive" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c94f43ede6f25dab1dea046bff84d85dea61bd49aba7a9011ad66c0d449077b" +dependencies = [ + "attribute-derive-macro 0.8.1", "proc-macro2", "quote", "syn 2.0.26", @@ -202,6 +214,22 @@ dependencies = [ "syn 2.0.26", ] +[[package]] +name = "attribute-derive-macro" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b409e2b2d2dc206d2c0ad3575a93f001ae21a1593e2d0c69b69c308e63f3b422" +dependencies = [ + "collection_literals", + "interpolator", + "manyhow", + "proc-macro-utils", + "proc-macro2", + "quote", + "quote-use", + "syn 2.0.26", +] + [[package]] name = "autocfg" version = "1.1.0" @@ -290,6 +318,18 @@ dependencies = [ "serde", ] +[[package]] +name = "bitvec" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" +dependencies = [ + "funty", + "radium", + "tap", + "wyz", +] + [[package]] name = "block-buffer" version = "0.10.4" @@ -325,6 +365,29 @@ version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" +[[package]] +name = "bytecheck" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b6372023ac861f6e6dc89c8344a8f398fb42aaba2b5dbc649ca0c0e9dbcb627" +dependencies = [ + "bytecheck_derive", + "ptr_meta", + "simdutf8", + "uuid", +] + +[[package]] +name = "bytecheck_derive" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7ec4c6f261935ad534c0c22dbef2201b45918860eb1c574b972bd213a76af61" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "byteorder" version = "1.4.3" @@ -1108,6 +1171,12 @@ dependencies = [ "libc", ] +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + [[package]] name = "futures" version = "0.3.28" @@ -2147,6 +2216,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.9" @@ -2242,14 +2320,34 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c0a4a89ba2d4c0932d57c5866b2f7cd07f5e3b0516266a4d5a734653d5fba2e" dependencies = [ "cfg-if", - "leptos_config", - "leptos_dom", - "leptos_macro", - "leptos_reactive", - "leptos_server", - "server_fn", + "leptos_config 0.4.5", + "leptos_dom 0.4.5", + "leptos_macro 0.4.5", + "leptos_reactive 0.4.5", + "leptos_server 0.4.5", + "server_fn 0.4.5", + "tracing", + "typed-builder 0.14.0", +] + +[[package]] +name = "leptos" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e21fa20494987b6c5522a150c4075770fda9085c1ba714856015530e63b7180e" +dependencies = [ + "cfg-if", + "leptos_config 0.5.3", + "leptos_dom 0.5.3", + "leptos_macro 0.5.3", + "leptos_reactive 0.5.3", + "leptos_server 0.5.3", + "server_fn 0.5.3", "tracing", - "typed-builder", + "typed-builder 0.18.0", + "typed-builder-macro", + "wasm-bindgen", + "web-sys", ] [[package]] @@ -2262,7 +2360,20 @@ dependencies = [ "regex", "serde", "thiserror", - "typed-builder", + "typed-builder 0.14.0", +] + +[[package]] +name = "leptos_config" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22604a419f1c6eb8fb0e2ab3563b23a53500f942b09cbeddc5bfa8f223bf839a" +dependencies = [ + "config", + "regex", + "serde", + "thiserror", + "typed-builder 0.18.0", ] [[package]] @@ -2279,15 +2390,45 @@ dependencies = [ "getrandom", "html-escape", "indexmap 2.0.0", - "itertools", + "itertools 0.10.5", + "js-sys", + "leptos_reactive 0.4.5", + "once_cell", + "pad-adapter", + "paste", + "rustc-hash", + "serde_json", + "server_fn 0.4.5", + "smallvec", + "tracing", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "leptos_dom" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89ef6c9802c3f3b94286c88b0c18299bad87f9ce8559a6b8e8f64bd70d4df8f" +dependencies = [ + "async-recursion", + "cfg-if", + "drain_filter_polyfill", + "futures", + "getrandom", + "html-escape", + "indexmap 2.0.0", + "itertools 0.10.5", "js-sys", - "leptos_reactive", + "leptos_reactive 0.5.3", "once_cell", "pad-adapter", "paste", "rustc-hash", + "serde", "serde_json", - "server_fn", + "server_fn 0.5.3", "smallvec", "tracing", "wasm-bindgen", @@ -2307,7 +2448,25 @@ dependencies = [ "parking_lot", "proc-macro2", "quote", - "rstml", + "rstml 0.10.6", + "serde", + "syn 2.0.26", + "walkdir", +] + +[[package]] +name = "leptos_hot_reload" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fce5cdf38f701bed1ea8ce7f09840a1d8d18ad2401a74bed1b67c1a729005a82" +dependencies = [ + "anyhow", + "camino", + "indexmap 2.0.0", + "parking_lot", + "proc-macro2", + "quote", + "rstml 0.11.2", "serde", "syn 2.0.26", "walkdir", @@ -2319,18 +2478,41 @@ version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "246d4708c0778dbd747253d0bfc213e4f996c530b9b02278d58941a7241a132f" dependencies = [ - "attribute-derive", + "attribute-derive 0.6.1", "cfg-if", "convert_case", "html-escape", - "itertools", - "leptos_hot_reload", + "itertools 0.10.5", + "leptos_hot_reload 0.4.5", "prettyplease", "proc-macro-error", "proc-macro2", "quote", - "rstml", - "server_fn_macro", + "rstml 0.10.6", + "server_fn_macro 0.4.5", + "syn 2.0.26", + "tracing", + "uuid", +] + +[[package]] +name = "leptos_macro" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26347fd31cea6d93f7facdae0d9abfc302ee2f6f1df75132831b85d26b8192ad" +dependencies = [ + "attribute-derive 0.8.1", + "cfg-if", + "convert_case", + "html-escape", + "itertools 0.11.0", + "leptos_hot_reload 0.5.3", + "prettyplease", + "proc-macro-error", + "proc-macro2", + "quote", + "rstml 0.11.2", + "server_fn_macro 0.5.3", "syn 2.0.26", "tracing", "uuid", @@ -2341,12 +2523,35 @@ 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.0.0", + "rustc-hash", + "self_cell", + "serde", + "serde-wasm-bindgen", + "serde_json", + "slotmap", + "thiserror", + "tracing", +] + +[[package]] +name = "leptos_reactive" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3eb42529421c5777d2045e2e6b5809fc1f568eeacc2e4f88cc8d7b24651842a7" dependencies = [ "base64 0.21.2", "cfg-if", "futures", "indexmap 2.0.0", "js-sys", + "paste", + "pin-project", + "rkyv", "rustc-hash", "self_cell", "serde", @@ -2371,7 +2576,7 @@ dependencies = [ "gloo-net", "js-sys", "lazy_static", - "leptos", + "leptos 0.4.5", "linear-map", "log", "once_cell", @@ -2394,9 +2599,25 @@ checksum = "a9aed5fb93e67df8f8f3cc1e8560039b080377baab544b1228e34f17c94feaa6" dependencies = [ "inventory", "lazy_static", - "leptos_reactive", + "leptos_reactive 0.4.5", + "serde", + "server_fn 0.4.5", + "thiserror", + "tracing", +] + +[[package]] +name = "leptos_server" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38a65659b37d296ce80518c84168cb62057256bb99a85669304a8025b48cbced" +dependencies = [ + "inventory", + "lazy_static", + "leptos_macro 0.5.3", + "leptos_reactive 0.5.3", "serde", - "server_fn", + "server_fn 0.5.3", "thiserror", "tracing", ] @@ -2472,6 +2693,29 @@ version = "0.4.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" +[[package]] +name = "manyhow" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "516b76546495d933baa165075b95c0a15e8f7ef75e53f56b19b7144d80fd52bd" +dependencies = [ + "manyhow-macros", + "proc-macro2", + "quote", + "syn 2.0.26", +] + +[[package]] +name = "manyhow-macros" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ba072c0eadade3160232e70893311f1f8903974488096e2eb8e48caba2f0cf1" +dependencies = [ + "proc-macro-utils", + "proc-macro2", + "quote", +] + [[package]] name = "md-5" version = "0.10.5" @@ -2980,6 +3224,26 @@ dependencies = [ "parking_lot", ] +[[package]] +name = "ptr_meta" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1" +dependencies = [ + "ptr_meta_derive", +] + +[[package]] +name = "ptr_meta_derive" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "quick-error" version = "2.0.1" @@ -3007,6 +3271,12 @@ dependencies = [ "syn 2.0.26", ] +[[package]] +name = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + [[package]] name = "rand" version = "0.8.5" @@ -3117,6 +3387,15 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" +[[package]] +name = "rend" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2571463863a6bd50c32f94402933f03457a3fbaf697a707c5be741e459f08fd" +dependencies = [ + "bytecheck", +] + [[package]] name = "reqwest" version = "0.11.18" @@ -3151,6 +3430,34 @@ dependencies = [ "winreg", ] +[[package]] +name = "rkyv" +version = "0.7.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0200c8230b013893c0b2d6213d6ec64ed2b9be2e0e016682b7224ff82cff5c58" +dependencies = [ + "bitvec", + "bytecheck", + "hashbrown 0.12.3", + "ptr_meta", + "rend", + "rkyv_derive", + "seahash", + "tinyvec", + "uuid", +] + +[[package]] +name = "rkyv_derive" +version = "0.7.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2e06b915b5c230a17d7a736d1e2e63ee753c256a8614ef3f5147b13a4f5541d" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "ron" version = "0.7.1" @@ -3210,6 +3517,20 @@ dependencies = [ "thiserror", ] +[[package]] +name = "rstml" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe542870b8f59dd45ad11d382e5339c9a1047cde059be136a7016095bbdefa77" +dependencies = [ + "proc-macro2", + "proc-macro2-diagnostics", + "quote", + "syn 2.0.26", + "syn_derive", + "thiserror", +] + [[package]] name = "rust-ini" version = "0.18.0" @@ -3281,6 +3602,12 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +[[package]] +name = "seahash" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" + [[package]] name = "self_cell" version = "1.0.1" @@ -3397,7 +3724,31 @@ dependencies = [ "serde", "serde_json", "serde_qs", - "server_fn_macro_default", + "server_fn_macro_default 0.4.5", + "syn 2.0.26", + "thiserror", + "xxhash-rust", +] + +[[package]] +name = "server_fn" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91803d0fe7d4edae5c8a01d18201a301c39b5743859916f62813f1ce3cdd9963" +dependencies = [ + "ciborium", + "const_format", + "gloo-net", + "js-sys", + "lazy_static", + "once_cell", + "proc-macro2", + "quote", + "reqwest", + "serde", + "serde_json", + "serde_qs", + "server_fn_macro_default 0.5.3", "syn 2.0.26", "thiserror", "xxhash-rust", @@ -3418,13 +3769,38 @@ dependencies = [ "xxhash-rust", ] +[[package]] +name = "server_fn_macro" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d48924ee63629b7bd3a40e54d860e85409fbc6309d9976f56aa09ff3e0ee814" +dependencies = [ + "const_format", + "proc-macro-error", + "proc-macro2", + "quote", + "serde", + "syn 2.0.26", + "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", + "server_fn_macro 0.4.5", + "syn 2.0.26", +] + +[[package]] +name = "server_fn_macro_default" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87efab27df8d2a86033c07c937c83d9ad9ef71b915d2a91eba1566814ffc0e87" +dependencies = [ + "server_fn_macro 0.5.3", "syn 2.0.26", ] @@ -3505,6 +3881,12 @@ dependencies = [ "rand_core", ] +[[package]] +name = "simdutf8" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" + [[package]] name = "slab" version = "0.4.8" @@ -3571,7 +3953,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c12bc9199d1db8234678b7051747c07f517cdcf019262d1847b94ec8b1aee3e" dependencies = [ - "itertools", + "itertools 0.10.5", "nom", "unicode_categories", ] @@ -3829,6 +4211,12 @@ dependencies = [ "syn 2.0.26", ] +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + [[package]] name = "tempfile" version = "3.7.0" @@ -4117,6 +4505,26 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "typed-builder" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e47c0496149861b7c95198088cbf36645016b1a0734cf350c50e2a38e070f38a" +dependencies = [ + "typed-builder-macro", +] + +[[package]] +name = "typed-builder-macro" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "982ee4197351b5c9782847ef5ec1fdcaf50503fb19d68f9771adae314e72b492" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.26", +] + [[package]] name = "typenum" version = "1.16.0" @@ -4367,7 +4775,7 @@ dependencies = [ "futures", "irust", "js-sys", - "leptos", + "leptos 0.5.3", "leptos_router", "rand", "serde", @@ -4598,6 +5006,15 @@ dependencies = [ "winapi", ] +[[package]] +name = "wyz" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +dependencies = [ + "tap", +] + [[package]] name = "xterm-query" version = "0.2.0" diff --git a/sources/web-gen/Cargo.toml b/sources/web-gen/Cargo.toml index 0147730b..4822293e 100755 --- a/sources/web-gen/Cargo.toml +++ b/sources/web-gen/Cargo.toml @@ -12,7 +12,7 @@ color-eyre = "0.6.2" futures = "0.3.28" irust = "1.70.0" js-sys = "0.3.64" -leptos = { version = "0.4.5", features = ["csr", "nightly"] } +leptos = { version = "0.5.3", features = ["csr", "nightly"] } leptos_router = "0.4.5" rand = "0.8.5" serde = { version = "1.0.174", features = ["derive"] }