2018-11-20 09:59:08 -08:00
|
|
|
[package]
|
2019-02-01 09:48:59 -08:00
|
|
|
name = "zcash-android-wallet-sdk"
|
2020-07-28 21:34:36 -07:00
|
|
|
version = "0.0.4"
|
2019-02-01 09:48:59 -08:00
|
|
|
authors = [
|
|
|
|
"Jack Grigg <jack@z.cash>",
|
|
|
|
"Kevin Gorham <kevin.gorham@z.cash>",
|
|
|
|
]
|
|
|
|
description = "JNI backend for the Android wallet SDK"
|
2018-11-20 09:59:08 -08:00
|
|
|
publish = false
|
2019-02-11 07:11:09 -08:00
|
|
|
edition = "2018"
|
2023-03-08 07:04:04 -08:00
|
|
|
rust-version = "1.60"
|
2018-11-20 09:59:08 -08:00
|
|
|
|
|
|
|
[dependencies]
|
2018-12-02 04:48:13 -08:00
|
|
|
failure = "0.1"
|
2022-06-17 15:06:21 -07:00
|
|
|
hdwallet = "0.3.1"
|
2022-05-18 18:04:30 -07:00
|
|
|
hdwallet-bitcoin = "0.3"
|
2020-09-22 09:35:50 -07:00
|
|
|
hex = "0.4"
|
2022-11-03 20:22:39 -07:00
|
|
|
jni = { version = "0.20", default-features = false }
|
2023-09-05 18:54:59 -07:00
|
|
|
prost = "0.11"
|
2023-07-11 08:17:44 -07:00
|
|
|
rusqlite = "0.29"
|
2022-09-20 17:41:43 -07:00
|
|
|
schemer = "0.2"
|
2022-06-17 15:06:21 -07:00
|
|
|
secp256k1 = "0.21"
|
2022-09-20 17:41:43 -07:00
|
|
|
secrecy = "0.8"
|
2023-07-11 08:17:44 -07:00
|
|
|
zcash_address = "0.3"
|
2023-05-02 08:16:45 -07:00
|
|
|
zcash_client_backend = { version = "0.9", features = ["transparent-inputs", "unstable"] }
|
2023-05-19 07:15:24 -07:00
|
|
|
zcash_client_sqlite = { version = "0.7.1", features = ["transparent-inputs", "unstable"] }
|
2023-07-11 08:17:44 -07:00
|
|
|
zcash_primitives = "0.12"
|
|
|
|
zcash_proofs = "0.12"
|
|
|
|
orchard = { version = "0.5", default-features = false }
|
2019-02-07 07:18:38 -08:00
|
|
|
|
2023-05-17 09:55:11 -07:00
|
|
|
# Initialization
|
|
|
|
rayon = "1.7"
|
|
|
|
|
2022-11-21 17:24:09 -08:00
|
|
|
# Logging
|
|
|
|
log-panics = "2.0.0"
|
|
|
|
paranoid-android = "0.2"
|
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = "0.3"
|
|
|
|
|
2022-11-21 20:29:24 -08:00
|
|
|
# Conditional access to newer NDK features
|
|
|
|
dlopen2 = "0.4"
|
|
|
|
libc = "0.2"
|
|
|
|
|
2023-07-11 08:17:44 -07:00
|
|
|
[patch.crates-io]
|
2023-07-25 19:37:26 -07:00
|
|
|
incrementalmerkletree = { git = "https://github.com/zcash/incrementalmerkletree.git", rev = "da97e6c399c5acddedad2c1730dbb7ee55499a2f" }
|
|
|
|
shardtree = { git = "https://github.com/zcash/incrementalmerkletree.git", rev = "da97e6c399c5acddedad2c1730dbb7ee55499a2f" }
|
2023-07-11 08:17:44 -07:00
|
|
|
orchard = { git = "https://github.com/zcash/orchard.git", rev = "6ef89d5f154de2cf7b7dd87edb8d8c49158beebb" }
|
2023-09-07 10:58:31 -07:00
|
|
|
zcash_address = { git = "https://github.com/zcash/librustzcash.git", rev = "85156e2b7cb5c53c26c786ea7c5c22fe5cbbcb2d" }
|
|
|
|
zcash_client_backend = { git = "https://github.com/zcash/librustzcash.git", rev = "85156e2b7cb5c53c26c786ea7c5c22fe5cbbcb2d" }
|
|
|
|
zcash_client_sqlite = { git = "https://github.com/zcash/librustzcash.git", rev = "85156e2b7cb5c53c26c786ea7c5c22fe5cbbcb2d" }
|
|
|
|
zcash_primitives = { git = "https://github.com/zcash/librustzcash.git", rev = "85156e2b7cb5c53c26c786ea7c5c22fe5cbbcb2d" }
|
|
|
|
zcash_proofs = { git = "https://github.com/zcash/librustzcash.git", rev = "85156e2b7cb5c53c26c786ea7c5c22fe5cbbcb2d" }
|
2023-07-11 08:17:44 -07:00
|
|
|
|
2021-04-22 15:56:52 -07:00
|
|
|
## Uncomment this to test librustzcash changes locally
|
2021-01-26 23:19:12 -08:00
|
|
|
#[patch.crates-io]
|
2022-10-06 10:40:49 -07:00
|
|
|
#zcash_address = { path = '../../clones/librustzcash/components/zcash_address' }
|
2021-02-16 13:02:50 -08:00
|
|
|
#zcash_client_backend = { path = '../../clones/librustzcash/zcash_client_backend' }
|
|
|
|
#zcash_client_sqlite = { path = '../../clones/librustzcash/zcash_client_sqlite' }
|
|
|
|
#zcash_primitives = { path = '../../clones/librustzcash/zcash_primitives' }
|
|
|
|
#zcash_proofs = { path = '../../clones/librustzcash/zcash_proofs' }
|
|
|
|
|
2022-05-19 12:41:34 -07:00
|
|
|
## Uncomment this to test someone else's librustzcash changes in a branch
|
|
|
|
#[patch.crates-io]
|
2023-03-08 07:04:04 -08:00
|
|
|
#zcash_address = { git = "https://github.com/zcash/librustzcash", branch = "main" }
|
|
|
|
#zcash_client_backend = { git = "https://github.com/zcash/librustzcash", branch = "main" }
|
|
|
|
#zcash_client_sqlite = { git = "https://github.com/zcash/librustzcash", branch = "main" }
|
|
|
|
#zcash_primitives = { git = "https://github.com/zcash/librustzcash", branch = "main" }
|
|
|
|
#zcash_proofs = { git = "https://github.com/zcash/librustzcash", branch = "main" }
|
2021-03-10 10:31:55 -08:00
|
|
|
|
2019-02-08 08:41:54 -08:00
|
|
|
[features]
|
2021-04-09 16:50:59 -07:00
|
|
|
mainnet = ["zcash_client_sqlite/mainnet"]
|
|
|
|
testnet = []
|
2019-02-08 08:41:54 -08:00
|
|
|
|
2018-11-20 09:59:08 -08:00
|
|
|
[lib]
|
|
|
|
name = "zcashwalletsdk"
|
|
|
|
path = "src/main/rust/lib.rs"
|
|
|
|
crate-type = ["staticlib", "cdylib"]
|