From cf2f0e8c6752c401f152a8e534ba166839d4307e Mon Sep 17 00:00:00 2001 From: Doan Luu Duc Tai Date: Fri, 30 Oct 2026 17:24:45 -0500 Subject: Prove OpenSSL PQ crypto in browser WASI and document the migration --- crates/chat-crypto/Cargo.toml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'crates/chat-crypto/Cargo.toml') diff --git a/crates/chat-crypto/Cargo.toml b/crates/chat-crypto/Cargo.toml index b5bc0c7..eaada21 100644 --- a/crates/chat-crypto/Cargo.toml +++ b/crates/chat-crypto/Cargo.toml @@ -27,15 +27,11 @@ categories = ["cryptography"] publish = false [lib] -crate-type = ["cdylib", "rlib"] +crate-type = ["rlib"] [dependencies] anyhow = "1" -sequoia-openpgp = { version = "=2.4.2", default-features = false, features = ["crypto-rust", "allow-experimental-crypto", "allow-variable-time-crypto"] } -wasm-bindgen = "0.2" - -[target.'cfg(target_arch = "wasm32")'.dependencies] -getrandom = { version = "0.4", features = ["wasm_js"] } +sequoia-openpgp = { version = "=2.4.2", default-features = false, features = ["crypto-openssl"] } [lints] workspace = true -- cgit v1.2.3