Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / share / src / main / rust / Cargo.toml
Cargo.toml31 lines · 1.1 KiBRaw
| 1 | [package] |
| 2 | name = "share_nearby" |
| 3 | version = "0.1.0" |
| 4 | edition = "2021" |
| 5 | description = "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." |
| 6 | license = "GPL-2.0-only" |
| 7 | |
| 8 | [lib] |
| 9 | name = "share_nearby" |
| 10 | crate-type = ["cdylib", "rlib"] |
| 11 | |
| 12 | [dependencies] |
| 13 | jni.workspace = true |
| 14 | jni_bridge = { path = "../../../../library/jni-bridge/src/main/rust" } |
| 15 | # Workspace-pinned crypto |
| 16 | sha2.workspace = true |
| 17 | hmac.workspace = true |
| 18 | aes.workspace = true |
| 19 | rand_core.workspace = true |
| 20 | getrandom.workspace = true |
| 21 | # Wire / protocol (versions pinned in the workspace root Cargo.toml) |
| 22 | prost.workspace = true |
| 23 | bytes.workspace = true |
| 24 | hkdf.workspace = true |
| 25 | p256 = { workspace = true, features = ["ecdh", "ecdsa"] } |
| 26 | cbc = { workspace = true, features = ["alloc"] } |
| 27 | cipher.workspace = true |
| 28 | # BetoCore vendored crates (P0 wiring — protocol code not yet migrated) |
| 29 | np_adv = { workspace = true, features = ["std"] } |
| 30 | ukey2_connections = { workspace = true } |
| 31 | crypto_provider_default = { workspace = true, features = ["rustcrypto", "std"] } |