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

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

Cargo.toml30 lines · 1.0 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
14# Workspace-pinned crypto
15sha2.workspace = true
16hmac.workspace = true
17aes.workspace = true
18rand_core.workspace = true
19getrandom.workspace = true
20# Wire / protocol (versions pinned in the workspace root Cargo.toml)
21prost.workspace = true
22bytes.workspace = true
23hkdf.workspace = true
24p256 = { workspace = true, features = ["ecdh", "ecdsa"] }
25cbc = { workspace = true, features = ["alloc"] }
26cipher.workspace = true
27# BetoCore vendored crates (P0 wiring — protocol code not yet migrated)
28np_adv = { workspace = true, features = ["std"] }
29ukey2_connections = { workspace = true }
30crypto_provider_default = { workspace = true, features = ["rustcrypto", "std"] }