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:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -5367,6 +5367,7 @@ dependencies = [
|
|||||||
"api",
|
"api",
|
||||||
"dioxus",
|
"dioxus",
|
||||||
"ui",
|
"ui",
|
||||||
|
"uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ members = [
|
|||||||
dioxus = { version = "0.7.1" }
|
dioxus = { version = "0.7.1" }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
chrono = { version = "0.4", features = ["serde"] }
|
chrono = { version = "0.4", features = ["serde"] }
|
||||||
uuid = { version = "1.0", features = ["v4", "serde"] }
|
uuid = { version = "1.0", features = ["v4", "serde", "js"] }
|
||||||
|
|
||||||
# workspace
|
# workspace
|
||||||
ui = { path = "packages/ui" }
|
ui = { path = "packages/ui" }
|
||||||
|
|||||||
Reference in New Issue
Block a user