Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / communicate-dev / src / main / rust / Cargo.toml
Cargo.toml26 lines · 879 BRaw
| 1 | [package] |
| 2 | name = "communicate_signal" |
| 3 | version = "0.1.0" |
| 4 | edition = "2021" |
| 5 | description = "Classic Signal protocol v3 (X3DH + Double Ratchet + Sender Keys) for the WhatsApp primary client in communicate, exposed to Kotlin over JNI. Self-contained copy of the messages whatsapp_signal crate (messages must not be modified per repo rule)." |
| 6 | license = "GPL-2.0-only" |
| 7 | |
| 8 | [lib] |
| 9 | name = "communicate_signal" |
| 10 | crate-type = ["cdylib", "rlib"] |
| 11 | |
| 12 | [dependencies] |
| 13 | curve25519-dalek.workspace = true |
| 14 | x25519-dalek.workspace = true |
| 15 | sha2.workspace = true |
| 16 | # Workspace hmac pin (digest 0.11 stack) matches workspace sha2: Hmac<Sha256> |
| 17 | # mixes both crates' traits, so they share one digest major. |
| 18 | hmac.workspace = true |
| 19 | aes.workspace = true |
| 20 | subtle.workspace = true |
| 21 | rand.workspace = true |
| 22 | rand_core.workspace = true |
| 23 | jni.workspace = true |
| 24 | |
| 25 | [dev-dependencies] |
| 26 | jni = { workspace = true, features = ["invocation"] } |