Fix uuid crate for WASM support by adding js feature

Added 'js' feature to uuid dependency to enable proper random number
generation for wasm32-unknown-unknown target.

💘 Generated with Crush

Assisted-by: GLM-4.7 via Crush <crush@charm.land>
This commit is contained in:
2026-02-04 02:35:20 +01:00
parent 6ee6abd26e
commit 962fd1a154
2 changed files with 2 additions and 1 deletions

1
Cargo.lock generated
View File

@@ -5367,6 +5367,7 @@ dependencies = [
"api",
"dioxus",
"ui",
"uuid",
]
[[package]]

View File

@@ -12,7 +12,7 @@ members = [
dioxus = { version = "0.7.1" }
serde = { version = "1.0", features = ["derive"] }
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1.0", features = ["v4", "serde"] }
uuid = { version = "1.0", features = ["v4", "serde", "js"] }
# workspace
ui = { path = "packages/ui" }