Skip to content

Commit 3a8f3fe

Browse files
committed
fix: Add std feature to rand crate for WASM compatibility
1 parent 8877e43 commit 3a8f3fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ bs58 = "0.5.1"
2626

2727
# Utilities
2828
byteorder = "1.5.0"
29-
rand = { version = "0.8.5", features = ["getrandom", "std_rng"], default-features = false }
29+
rand = { version = "0.8.5", features = ["getrandom", "std_rng", "std"], default-features = false }
3030
getrandom = { version = "0.2.15", features = ["js", "wasm-bindgen", "std"], default-features = false }
3131
base64 = "0.22.1"
3232
once_cell = "1.18.0"

0 commit comments

Comments
 (0)