From edd38ee4a7164170e9e456a92be286609062424c Mon Sep 17 00:00:00 2001 From: Emilis Date: Fri, 9 May 2025 17:00:29 +0100 Subject: fix: use tokio_with_wasm fork that doesn't remove MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tasks Co-authored-by: cel 🌸 --- Cargo.lock | 3 +-- Cargo.toml | 10 ++++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2c6cdc7..e819d08 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1888,6 +1888,7 @@ dependencies = [ "thiserror 2.0.12", "tokio", "tokio-native-tls", + "tokio_with_wasm", "tracing", "trust-dns-resolver", "try_map", @@ -3478,8 +3479,6 @@ dependencies = [ [[package]] name = "tokio_with_wasm" version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e42d20f41cbfe26740d0c2fb320d44ce7dfa716be135cb663e99a48248a0e897" dependencies = [ "js-sys", "tokio", diff --git a/Cargo.toml b/Cargo.toml index 89c001f..e2ef76c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,10 @@ base64 = "0.22.1" chrono = "0.4.41" chrono-humanize = "0.2.3" console_error_panic_hook = "0.1.7" -filamento = { path = "../luz/filamento", features = ["reactive_stores", "opfs"] } +filamento = { path = "../luz/filamento", features = [ + "reactive_stores", + "opfs", +] } futures = "0.3.31" indexmap = "2.9.0" jid = { path = "../luz/jid" } @@ -20,7 +23,10 @@ reactive_stores = "0.1.8" serde = "1.0.219" stylance = "0.6.0" thiserror = "2.0.12" -tokio = { version = "1.44.2", features = ["sync"] } +tokio = { version = "1.44.2", features = ["sync", "rt"] } tracing = "0.1.41" tracing-wasm = "0.2.1" uuid = { version = "1.16.0", features = ["v4"] } + +[patch.crates-io] +tokio_with_wasm = { path = "../tokio-with-wasm/tokio_with_wasm" } -- cgit