summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Emilis <emilis@puff.place>2025-05-09 17:00:29 +0100
committerLibravatar Emilis <emilis@puff.place>2025-05-09 17:29:04 +0100
commitedd38ee4a7164170e9e456a92be286609062424c (patch)
tree0c6a4ad461dbe6897723d6352b6e589d801108cf
parent19ba234341821bc68f3d06787ee15e5342fcaea8 (diff)
downloadmacaw-web-edd38ee4a7164170e9e456a92be286609062424c.tar.gz
macaw-web-edd38ee4a7164170e9e456a92be286609062424c.tar.bz2
macaw-web-edd38ee4a7164170e9e456a92be286609062424c.zip
fix: use tokio_with_wasm fork that doesn't remove
tasks Co-authored-by: cel 🌸 <cel@bunny.garden>
-rw-r--r--Cargo.lock3
-rw-r--r--Cargo.toml10
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" }