diff --git a/Cargo.lock b/Cargo.lock index ebf7c7c..83a492f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -705,7 +705,7 @@ dependencies = [ "futures-channel", "futures-core", "futures-sink", - "gloo-utils", + "gloo-utils 0.2.0", "http", "js-sys", "pin-project", @@ -717,6 +717,23 @@ dependencies = [ "web-sys", ] +[[package]] +name = "gloo-net" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6420f887c48417e9e86c6cf61274eb231830cccc100e49613f7952e269a1fe1" +dependencies = [ + "gloo-utils 0.3.0", + "http", + "js-sys", + "serde", + "serde_json", + "thiserror 2.0.18", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + [[package]] name = "gloo-utils" version = "0.2.0" @@ -730,6 +747,19 @@ dependencies = [ "web-sys", ] +[[package]] +name = "gloo-utils" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4202275d95a142fa209a1e35e91c250a710c5600731372cd3464a39ed01573d6" +dependencies = [ + "js-sys", + "serde", + "serde_json", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "guardian" version = "1.3.0" @@ -1287,7 +1317,7 @@ dependencies = [ "any_spawner", "either_of", "futures", - "gloo-net", + "gloo-net 0.6.0", "js-sys", "leptos", "leptos_router_macro", @@ -1944,7 +1974,7 @@ dependencies = [ "axum 0.8.9", "console_error_panic_hook", "futures", - "gloo-net", + "gloo-net 0.7.0", "hex", "http", "js-sys", @@ -2065,7 +2095,7 @@ dependencies = [ "const-str", "const_format", "futures", - "gloo-net", + "gloo-net 0.6.0", "http", "http-body-util", "hyper", diff --git a/Cargo.toml b/Cargo.toml index 26c64cc..e18badb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ console_error_panic_hook = "0.1" http = "1" [target.'cfg(target_arch = "wasm32")'.dependencies] -gloo-net = { version = "0.6", default-features = false, features = ["http", "json"] } +gloo-net = { version = "0.7", default-features = false, features = ["http", "json"] } js-sys = "0.3" web-sys = { version = "0.3", features = [ "Window",