summaryrefslogtreecommitdiffstats
path: root/openpgp
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-11-18 15:30:57 +0100
committerJustus Winter <justus@sequoia-pgp.org>2021-11-18 15:41:35 +0100
commit9a3e872439d87f745e6a8b9fcc6d6a2f87d3c3be (patch)
treeaa1f657b76429b45788a365b4a289873cc874855 /openpgp
parent93b2a4344f02fd56f109a87e13b56862408b6e9b (diff)
openpgp: Enable feature wasm-bindgen for rand.
- This is used by the Rust Crypto crates.
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 5ecfbcc8..a0cea587 100644
--- a/openpgp/Cargo.toml
+++ b/openpgp/Cargo.toml
@@ -79,6 +79,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"] }
+rand = { version = "0.7", features = ["wasm-bindgen"] }
[build-dependencies]
lalrpop = ">=0.17"