Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
cov/c3 ▾

Modern-Apps.git / library / e2ee-openpgp / src / main / rust / Cargo.toml

Cargo.toml23 lines · 959 BRaw
1[package]
2name = "e2ee_pgp"
3version = "0.1.0"
4edition = "2021"
5description = "OpenPGP (RFC 9580) for SecureMail via :library:e2ee-openpgp (rPGP, Ed25519 + X25519), exposed to Kotlin via JNI. Split out of the e2ee_pqc crate so non-mail apps don't pay for the rPGP cipher suite (#873)."
6license = "GPL-2.0-only"
7
8[lib]
9name = "e2ee_pgp"
10crate-type = ["cdylib", "rlib"]
11
12[dependencies]
13jni.workspace = true
14# OpenPGP packet engine for SecureMail (generate/armor/encrypt/decrypt).
15# Same crate as the relay server would use; the JNI surface below exposes only
16# what the app needs (no WKD/SMTP — those stay in Kotlin via library:network).
17pgp.workspace = true
18# rand 0.8 for rPGP keygen/encrypt RNG (workspace default is 0.10; see root).
19rand08.workspace = true
20# Base64 framing for PGP/MIME armor output (workspace pin, betocore line).
21base64.workspace = true
22# smallvec! for rPGP key-preference lists (workspace pin, betocore line).
23smallvec.workspace = true