diff options
Diffstat (limited to 'crates/chat-crypto/Cargo.toml')
| -rw-r--r-- | crates/chat-crypto/Cargo.toml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/crates/chat-crypto/Cargo.toml b/crates/chat-crypto/Cargo.toml new file mode 100644 index 0000000..b5bc0c7 --- /dev/null +++ b/crates/chat-crypto/Cargo.toml @@ -0,0 +1,41 @@ +# Copyright (C) 2026 Doan Luu Duc Tai <doan@luuduct.ai> +# +# 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 <https://www.gnu.org/licenses/>. + +[package] +name = "stack-chat-crypto" +version = "0.1.0" +edition = "2024" +license = "AGPL-3.0-or-later" +authors = ["Doan Luu Duc Tai <doan@luuduct.ai>"] +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 |
