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"
|
2018-11-20 09:59:08 -08:00
|
|
|
|
|
|
|
[dependencies]
|
2020-09-22 08:14:56 -07:00
|
|
|
android_logger = "0.9"
|
2018-12-02 04:48:13 -08:00
|
|
|
failure = "0.1"
|
2020-09-22 09:35:50 -07:00
|
|
|
hex = "0.4"
|
2020-09-22 08:09:55 -07:00
|
|
|
jni = { version = "0.17", default-features = false }
|
2019-02-07 04:58:33 -08:00
|
|
|
log = "0.4"
|
2019-02-07 04:56:04 -08:00
|
|
|
log-panics = "2.0.0"
|
2021-03-31 06:27:14 -07:00
|
|
|
zcash_client_backend = "0.5"
|
|
|
|
zcash_client_sqlite = "0.3"
|
|
|
|
zcash_primitives = "0.5"
|
|
|
|
zcash_proofs = "0.5"
|
2018-11-20 09:59:08 -08:00
|
|
|
|
2020-08-13 18:03:19 -07:00
|
|
|
#### Temporary additions: ####################################
|
2021-02-16 13:02:50 -08:00
|
|
|
#base58 = "0.1.0"
|
|
|
|
#protobuf = "2"
|
|
|
|
#sha2 = "0.9"
|
|
|
|
#bs58 = { version = "0.3", features = ["check"] }
|
|
|
|
#hdwallet = "0.2.2"
|
|
|
|
#ripemd160 = "0.9"
|
|
|
|
hdwallet = { git = "https://github.com/nuttycom/hdwallet", rev = "72f1f7a56c114eed484cefd6d402b7ef28158712"}
|
|
|
|
secp256k1 = "0.19"
|
2020-08-13 18:03:19 -07:00
|
|
|
##############################################################
|
|
|
|
|
2020-09-22 09:05:26 -07:00
|
|
|
# update-sapling-tree dependencies
|
|
|
|
bls12_381 = { version = "0.3", optional = true }
|
|
|
|
futures = { version = "0.3", optional = true }
|
|
|
|
grpc = { version = "0.8", optional = true }
|
|
|
|
grpc-protobuf = { version = "0.8", optional = true }
|
|
|
|
httpbis = { version = "0.9", optional = true }
|
|
|
|
tls-api = { version = "0.4", optional = true }
|
|
|
|
tls-api-rustls = { version = "0.4", optional = true }
|
|
|
|
|
2020-08-13 18:03:19 -07:00
|
|
|
[build-dependencies]
|
|
|
|
protobuf-codegen-pure = "2.14"
|
|
|
|
|
2020-09-22 07:43:42 -07:00
|
|
|
#[patch.crates-io]
|
2021-01-26 23:19:12 -08:00
|
|
|
#zcash_client_backend = { git = 'https://github.com/zcash/librustzcash.git', rev='04a2bd4ad86980e0c2862706bd402b85b9dd1965' }
|
|
|
|
#zcash_client_sqlite = { git = 'https://github.com/zcash/librustzcash.git', rev='04a2bd4ad86980e0c2862706bd402b85b9dd1965' }
|
|
|
|
#zcash_primitives = { git = 'https://github.com/zcash/librustzcash.git', rev='04a2bd4ad86980e0c2862706bd402b85b9dd1965' }
|
|
|
|
#zcash_proofs = { git = 'https://github.com/zcash/librustzcash.git', rev='04a2bd4ad86980e0c2862706bd402b85b9dd1965' }
|
2019-02-07 07:18:38 -08: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]
|
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' }
|
|
|
|
|
|
|
|
# Uncomment this to test someone else's librustzcash changes in a branch
|
|
|
|
[patch.crates-io]
|
2022-01-13 04:32:14 -08:00
|
|
|
zcash_client_backend = {git = "https://github.com/zcash/librustzcash", branch = "autoshielding-poc-sdk-dnm"}
|
|
|
|
zcash_client_sqlite = {git = "https://github.com/zcash/librustzcash", branch = "autoshielding-poc-sdk-dnm"}
|
|
|
|
zcash_primitives = {git = "https://github.com/zcash/librustzcash", branch = "autoshielding-poc-sdk-dnm"}
|
|
|
|
zcash_proofs = {git = "https://github.com/zcash/librustzcash", branch = "autoshielding-poc-sdk-dnm"}
|
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 = []
|
2020-09-22 09:05:26 -07:00
|
|
|
updater = ["bls12_381", "futures", "grpc", "grpc-protobuf", "httpbis", "tls-api", "tls-api-rustls"]
|
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"]
|
2019-02-08 08:41:54 -08:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "update-sapling-tree"
|
|
|
|
path = "src/main/rust/bin/update_sapling_tree.rs"
|
|
|
|
required-features = ["updater"]
|