diff --git a/Cargo.lock b/Cargo.lock index 5aa38f154..b79974780 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -687,9 +687,9 @@ dependencies = [ [[package]] name = "const-str" -version = "0.5.7" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3618cccc083bb987a415d85c02ca6c9994ea5b44731ec28b9ecf09658655fba9" +checksum = "9e991226a70654b49d34de5ed064885f0bef0348a8e70018b8ff1ac80aa984a2" [[package]] name = "const_format" @@ -732,9 +732,9 @@ dependencies = [ [[package]] name = "convert_case" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb402b8d4c85569410425650ce3eddc7d698ed96d39a73f941b08fb63082f1e7" +checksum = "baaaa0ecca5b51987b9423ccdc971514dd8b0bb7b4060b983d3664dad3f1f89f" dependencies = [ "unicode-segmentation", ] @@ -1813,8 +1813,8 @@ dependencies = [ "thiserror 2.0.12", "throw_error", "tracing", - "typed-builder", - "typed-builder-macro", + "typed-builder 0.21.0", + "typed-builder-macro 0.21.0", "wasm-bindgen", "web-sys", ] @@ -1892,7 +1892,7 @@ dependencies = [ "tempfile", "thiserror 2.0.12", "tokio", - "typed-builder", + "typed-builder 0.21.0", ] [[package]] @@ -1947,7 +1947,7 @@ version = "0.8.0-rc1" dependencies = [ "attribute-derive", "cfg-if", - "convert_case 0.7.1", + "convert_case 0.8.0", "html-escape", "insta", "itertools", @@ -1967,7 +1967,7 @@ dependencies = [ "syn 2.0.100", "tracing", "trybuild", - "typed-builder", + "typed-builder 0.20.1", "uuid", ] @@ -2803,7 +2803,7 @@ dependencies = [ name = "reactive_stores_macro" version = "0.2.0-rc1" dependencies = [ - "convert_case 0.7.1", + "convert_case 0.8.0", "proc-macro-error2", "proc-macro2", "quote", @@ -3241,13 +3241,13 @@ dependencies = [ [[package]] name = "serde_qs" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd34f36fe4c5ba9654417139a9b3a20d2e1de6012ee678ad14d240c22c78d8d6" +checksum = "8b417bedc008acbdf6d6b4bc482d29859924114bbe2650b7921fb68a261d0aa6" dependencies = [ "percent-encoding", "serde", - "thiserror 1.0.69", + "thiserror 2.0.12", ] [[package]] @@ -3364,7 +3364,7 @@ name = "server_fn_macro" version = "0.8.0-rc1" dependencies = [ "const_format", - "convert_case 0.6.0", + "convert_case 0.8.0", "proc-macro2", "quote", "rustc_version", @@ -4017,7 +4017,16 @@ version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd9d30e3a08026c78f246b173243cf07b3696d274debd26680773b6773c2afc7" dependencies = [ - "typed-builder-macro", + "typed-builder-macro 0.20.1", +] + +[[package]] +name = "typed-builder" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce63bcaf7e9806c206f7d7b9c1f38e0dce8bb165a80af0898161058b19248534" +dependencies = [ + "typed-builder-macro 0.21.0", ] [[package]] @@ -4031,6 +4040,17 @@ dependencies = [ "syn 2.0.100", ] +[[package]] +name = "typed-builder-macro" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60d8d828da2a3d759d3519cdf29a5bac49c77d039ad36d0782edadbf9cd5415b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.100", +] + [[package]] name = "typenum" version = "1.18.0" diff --git a/Cargo.toml b/Cargo.toml index b72d3dcf0..19a99e746 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,6 +45,7 @@ edition = "2021" rust-version = "1.76" [workspace.dependencies] +convert_case = "0.8" throw_error = { path = "./any_error/", version = "0.3.0" } any_spawner = { path = "./any_spawner/", version = "0.3.0-rc1" } const_str_slice_concat = { path = "./const_str_slice_concat", version = "0.1" } @@ -74,7 +75,9 @@ server_fn_macro = { path = "./server_fn_macro", version = "0.8.0-rc1" } server_fn_macro_default = { path = "./server_fn/server_fn_macro_default", version = "0.8.0-rc1" } tachys = { path = "./tachys", version = "0.2.0-rc1" } trybuild = "1" -wasm-bindgen = { version = "0.2.100" } +typed-builder = "0.21.0" +thiserror = "2.0.12" +wasm-bindgen = "0.2.100" [profile.release] codegen-units = 1 diff --git a/any_spawner/Cargo.toml b/any_spawner/Cargo.toml index b928d5899..75e8c70db 100644 --- a/any_spawner/Cargo.toml +++ b/any_spawner/Cargo.toml @@ -12,7 +12,7 @@ edition.workspace = true async-executor = { version = "1.13.1", optional = true } futures = "0.3.31" glib = { version = "0.20.6", optional = true } -thiserror = "2.0" +thiserror = { workspace = true } tokio = { version = "1.41", optional = true, default-features = false, features = [ "rt", ] } diff --git a/hydration_context/Cargo.toml b/hydration_context/Cargo.toml index 65ef3203a..895d4f421 100644 --- a/hydration_context/Cargo.toml +++ b/hydration_context/Cargo.toml @@ -14,7 +14,7 @@ throw_error = { workspace = true } or_poisoned = { workspace = true } futures = "0.3.31" serde = { version = "1.0", features = ["derive"] } -wasm-bindgen = { version = "0.2.100", optional = true } +wasm-bindgen = { workspace = true, optional = true } js-sys = { version = "0.3.74", optional = true } once_cell = "1.20" pin-project-lite = "0.2.15" diff --git a/leptos/Cargo.toml b/leptos/Cargo.toml index a0d1dd6cc..f0d880a6c 100644 --- a/leptos/Cargo.toml +++ b/leptos/Cargo.toml @@ -39,10 +39,10 @@ tachys = { workspace = true, features = [ "reactive_stores", "oco", ] } -thiserror = "2.0" +thiserror = { workspace = true } tracing = { version = "0.1.41", optional = true } -typed-builder = "0.20.0" -typed-builder-macro = "0.20.0" +typed-builder = { workspace = true } +typed-builder-macro = "0.21.0" serde = "1.0" serde_json = { version = "1.0", optional = true } server_fn = { workspace = true, features = ["form-redirects", "browser"] } @@ -52,7 +52,7 @@ web-sys = { version = "0.3.72", features = [ "ShadowRootMode", ] } wasm-bindgen = { workspace = true } -serde_qs = "0.13.0" +serde_qs = "0.14.0" slotmap = "1.0" futures = "0.3.31" send_wrapper = "0.6.0" @@ -107,7 +107,7 @@ rustc_version = "0.4.1" # https://github.com/rust-lang/cargo/issues/4423 # TLDR proc macros will ignore RUSTFLAGS when --target is specified on the cargo command. # This works around the issue by the non proc-macro crate which does see RUSTFLAGS enabling the replacement feature on the proc-macro crate, which wouldn't. -# This is automatic as long as the leptos crate is depended upon, +# This is automatic as long as the leptos crate is depended upon, # downstream usage should never manually enable this feature. [target.'cfg(erase_components)'.dependencies] leptos_macro = { workspace = true, features = ["__internal_erase_components"] } diff --git a/leptos_config/Cargo.toml b/leptos_config/Cargo.toml index 97d53ac13..8e78b4d03 100644 --- a/leptos_config/Cargo.toml +++ b/leptos_config/Cargo.toml @@ -16,8 +16,8 @@ config = { version = "0.15.8", default-features = false, features = [ ] } regex = "1.11" serde = { version = "1.0", features = ["derive", "rc"] } -thiserror = "2.0" -typed-builder = "0.20.0" +thiserror = { workspace = true } +typed-builder = { workspace = true } [dev-dependencies] tokio = { version = "1.43", features = ["rt", "macros"] } diff --git a/leptos_macro/Cargo.toml b/leptos_macro/Cargo.toml index 1bd5d8708..578c5be29 100644 --- a/leptos_macro/Cargo.toml +++ b/leptos_macro/Cargo.toml @@ -25,7 +25,7 @@ syn = { version = "2.0", features = ["full"] } rstml = "0.12.0" leptos_hot_reload = { workspace = true } server_fn_macro = { workspace = true } -convert_case = "0.7" +convert_case = { workspace = true } uuid = { version = "1.11", features = ["v4"] } tracing = { version = "0.1.41", optional = true } diff --git a/leptos_server/Cargo.toml b/leptos_server/Cargo.toml index 4c2941440..8bf0c76a8 100644 --- a/leptos_server/Cargo.toml +++ b/leptos_server/Cargo.toml @@ -28,7 +28,7 @@ send_wrapper = "0.6" # serialization formats serde = { version = "1.0" } js-sys = { version = "0.3.74", optional = true } -wasm-bindgen = { version = "0.2.100", optional = true } +wasm-bindgen = { workspace = true, optional = true } serde_json = { workspace = true } [features] diff --git a/oco/Cargo.toml b/oco/Cargo.toml index 9ddc0dcfc..5d85aceea 100644 --- a/oco/Cargo.toml +++ b/oco/Cargo.toml @@ -10,7 +10,7 @@ edition.workspace = true [dependencies] serde = "1.0" -thiserror = "2.0" +thiserror = { workspace = true } [dev-dependencies] serde_json = { workspace = true } diff --git a/reactive_graph/Cargo.toml b/reactive_graph/Cargo.toml index 9a564c032..dbbc9d72c 100644 --- a/reactive_graph/Cargo.toml +++ b/reactive_graph/Cargo.toml @@ -18,7 +18,7 @@ pin-project-lite = "0.2.15" rustc-hash = "2.0" serde = { version = "1.0", features = ["derive"], optional = true } slotmap = "1.0" -thiserror = "2.0" +thiserror = { workspace = true } tracing = { version = "0.1.41", optional = true } guardian = "1.2" async-lock = "3.4.0" diff --git a/reactive_stores_macro/Cargo.toml b/reactive_stores_macro/Cargo.toml index 133f5db45..00f680036 100644 --- a/reactive_stores_macro/Cargo.toml +++ b/reactive_stores_macro/Cargo.toml @@ -13,7 +13,7 @@ edition.workspace = true proc-macro = true [dependencies] -convert_case = "0.7" +convert_case = { workspace = true } proc-macro-error2 = "2.0" proc-macro2 = "1.0" quote = "1.0" diff --git a/router/Cargo.toml b/router/Cargo.toml index d2de3e699..889876045 100644 --- a/router/Cargo.toml +++ b/router/Cargo.toml @@ -24,7 +24,7 @@ wasm-bindgen = { workspace = true } tracing = { version = "0.1.41", optional = true } once_cell = "1.20" send_wrapper = "0.6.0" -thiserror = "2.0" +thiserror = { workspace = true } percent-encoding = { version = "2.3", optional = true } gloo-net = "0.6.0" diff --git a/server_fn/Cargo.toml b/server_fn/Cargo.toml index ab847da12..3aca10cba 100644 --- a/server_fn/Cargo.toml +++ b/server_fn/Cargo.toml @@ -14,13 +14,13 @@ throw_error = { workspace = true } server_fn_macro_default = { workspace = true } # used for hashing paths in #[server] macro const_format = "0.2.33" -const-str = "0.5.7" +const-str = "0.6.2" xxhash-rust = { version = "0.8.12", features = ["const_xxh64"] } rustversion = { workspace = true} # used across multiple features serde = { version = "1.0", features = ["derive"] } send_wrapper = { version = "0.6.0", features = ["futures"], optional = true } -thiserror = "2.0" +thiserror = { workspace = true } # registration system inventory = { version = "0.3.15", optional = true } @@ -40,7 +40,7 @@ tower = { version = "0.5.1", optional = true } tower-layer = { version = "0.3.3", optional = true } ## input encodings -serde_qs = { version = "0.13.0" } +serde_qs = { version = "0.14.0" } multer = { version = "3.1", optional = true } ## output encodings @@ -61,7 +61,7 @@ base64 = { version = "0.22.1" } # client gloo-net = { version = "0.6.0", optional = true } js-sys = { version = "0.3.74", optional = true } -wasm-bindgen = { version = "0.2.100", optional = true } +wasm-bindgen = { workspace = true, optional = true } wasm-bindgen-futures = { version = "0.4.50", optional = true } wasm-streams = { version = "0.4.2", optional = true } web-sys = { version = "0.3.72", optional = true, features = [ diff --git a/server_fn_macro/Cargo.toml b/server_fn_macro/Cargo.toml index 7502b2675..73e9d3971 100644 --- a/server_fn_macro/Cargo.toml +++ b/server_fn_macro/Cargo.toml @@ -14,7 +14,7 @@ syn = { version = "2.0", features = ["full", "parsing", "extra-traits"] } proc-macro2 = "1.0" xxhash-rust = { version = "0.8.12", features = ["const_xxh64"] } const_format = "0.2.33" -convert_case = "0.6.0" +convert_case = { workspace = true } [build-dependencies]