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

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

Cargo.toml24 lines · 1.0 KiBRaw
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
14jni_bridge = { path = "../../../../../library/jni-bridge/src/main/rust" }
15# OpenPGP packet engine for SecureMail (generate/armor/encrypt/decrypt).
16# Same crate as the relay server would use; the JNI surface below exposes only
17# what the app needs (no WKD/SMTP — those stay in Kotlin via library:network).
18pgp.workspace = true
19# rand 0.8 for rPGP keygen/encrypt RNG (workspace default is 0.10; see root).
20rand08.workspace = true
21# Base64 framing for PGP/MIME armor output (workspace pin, betocore line).
22base64.workspace = true
23# smallvec! for rPGP key-preference lists (workspace pin, betocore line).
24smallvec.workspace = true