# Copyright (C) 2026 Doan Luu Duc Tai # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . [package] name = "stack-chat-crypto" version = "0.1.0" edition = "2024" license = "AGPL-3.0-or-later" authors = ["Doan Luu Duc Tai "] description = "Experimental OpenPGP browser compatibility proof for private chat." repository = "https://git.doan.luuduct.ai/stack" readme = "README.txt" keywords = ["openpgp", "wasm", "chat"] categories = ["cryptography"] publish = false [lib] crate-type = ["cdylib", "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"] } [lints] workspace = true