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

Modern-Apps.git / communicate-dev / src / main / rust / Cargo.toml

Cargo.toml26 lines · 879 BRaw
1[package]
2name = "communicate_signal"
3version = "0.1.0"
4edition = "2021"
5description = "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)."
6license = "GPL-2.0-only"
7
8[lib]
9name = "communicate_signal"
10crate-type = ["cdylib", "rlib"]
11
12[dependencies]
13curve25519-dalek.workspace = true
14x25519-dalek.workspace = true
15sha2.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.
18hmac.workspace = true
19aes.workspace = true
20subtle.workspace = true
21rand.workspace = true
22rand_core.workspace = true
23jni.workspace = true
24
25[dev-dependencies]
26jni = { workspace = true, features = ["invocation"] }