summaryrefslogtreecommitdiffstats
path: root/openpgp
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-11-17 14:05:18 +0100
committerJustus Winter <justus@sequoia-pgp.org>2021-11-18 14:11:33 +0100
commit93b2a4344f02fd56f109a87e13b56862408b6e9b (patch)
tree5fa9469c43e877e40a89c64f39cbb43a1ac619ce /openpgp
parent697245e1264844ccc9bda486dfc821ac2f3a63d5 (diff)
openpgp: Enable js feature for getrandom.
Diffstat (limited to 'openpgp')
-rw-r--r--openpgp/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/Cargo.toml b/openpgp/Cargo.toml
index 39455eff..5ecfbcc8 100644
--- a/openpgp/Cargo.toml
+++ b/openpgp/Cargo.toml
@@ -78,6 +78,7 @@ winapi = { version = "0.3.8", default-features = false, features = ["bcrypt"], o
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
chrono = { version = "0.4.10", default-features = false, features = ["std", "wasmbind"] }
+getrandom = { version = "0.2", features = ["js"] }
[build-dependencies]
lalrpop = ">=0.17"