Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / library / e2ee-openpgp / src / main / rust / Cargo.toml
Cargo.toml23 lines · 959 BRaw
| 1 | [package] |
| 2 | name = "e2ee_pgp" |
| 3 | version = "0.1.0" |
| 4 | edition = "2021" |
| 5 | description = "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)." |
| 6 | license = "GPL-2.0-only" |
| 7 | |
| 8 | [lib] |
| 9 | name = "e2ee_pgp" |
| 10 | crate-type = ["cdylib", "rlib"] |
| 11 | |
| 12 | [dependencies] |
| 13 | jni.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). |
| 17 | pgp.workspace = true |
| 18 | # rand 0.8 for rPGP keygen/encrypt RNG (workspace default is 0.10; see root). |
| 19 | rand08.workspace = true |
| 20 | # Base64 framing for PGP/MIME armor output (workspace pin, betocore line). |
| 21 | base64.workspace = true |
| 22 | # smallvec! for rPGP key-preference lists (workspace pin, betocore line). |
| 23 | smallvec.workspace = true |