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

Modern-Apps.git / share / src / main / rust / Cargo.toml

Cargo.toml31 lines · 1.1 KiBRaw
1[package]
2name = "share_nearby"
3version = "0.1.0"
4edition = "2021"
5description = "Nearby Share / Quick Share protocol (UKEY2, protobuf frames, secure messages, payload) without Play Services — Rust core exposed to Kotlin via JNI. See share/PROTOCOL_CONTRACT.md."
6license = "GPL-2.0-only"
7
8[lib]
9name = "share_nearby"
10crate-type = ["cdylib", "rlib"]
11
12[dependencies]
13jni.workspace = true
14jni_bridge = { path = "../../../../library/jni-bridge/src/main/rust" }
15# Workspace-pinned crypto
16sha2.workspace = true
17hmac.workspace = true
18aes.workspace = true
19rand_core.workspace = true
20getrandom.workspace = true
21# Wire / protocol (versions pinned in the workspace root Cargo.toml)
22prost.workspace = true
23bytes.workspace = true
24hkdf.workspace = true
25p256 = { workspace = true, features = ["ecdh", "ecdsa"] }
26cbc = { workspace = true, features = ["alloc"] }
27cipher.workspace = true
28# BetoCore vendored crates (P0 wiring — protocol code not yet migrated)
29np_adv = { workspace = true, features = ["std"] }
30ukey2_connections = { workspace = true }
31crypto_provider_default = { workspace = true, features = ["rustcrypto", "std"] }