From a05f1d34b5e3ff0544b037b4e450ccbdbd682b8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Garc=C3=ADa?= Date: Thu, 5 Dec 2024 13:13:06 +0100 Subject: [PATCH] WASM dependencies --- lib/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Cargo.toml b/lib/Cargo.toml index e47080b..7d44d06 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -27,3 +27,6 @@ stringreader = "0.1.1" [features] stream-json-parser = [] + +[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies] +getrandom = { version = "0.2.15", features = ["js"] }