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]
|
2019-02-07 04:56:04 -08:00
|
|
|
android_logger = "0.6"
|
2018-12-02 04:48:13 -08:00
|
|
|
failure = "0.1"
|
2019-02-08 08:41:54 -08:00
|
|
|
futures = { version = "0.1", optional = true }
|
|
|
|
grpc = { version = "0.6", optional = true }
|
2019-02-22 06:52:03 -08:00
|
|
|
hex = "0.3"
|
2020-02-26 20:37:09 -08:00
|
|
|
httpbis = { version = "0.7", optional = true }
|
2019-08-29 10:04:53 -07:00
|
|
|
jni = { version = "0.13", 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"
|
2019-04-10 10:39:06 -07:00
|
|
|
protobuf = { version = "2", optional = true }
|
2020-02-26 14:10:17 -08:00
|
|
|
tls-api = { version = "0.1", optional = true }
|
|
|
|
tls-api-rustls = { version = "0.1", optional = true }
|
2018-11-20 09:59:08 -08:00
|
|
|
|
2018-12-02 04:48:13 -08:00
|
|
|
[dependencies.ff]
|
2020-07-28 21:34:36 -07:00
|
|
|
git = "https://github.com/zcash/librustzcash.git"
|
2020-08-13 18:02:53 -07:00
|
|
|
rev = "18b1ce7401184e86031e6d7ddefa7c8d36929296"
|
2018-12-02 04:48:13 -08:00
|
|
|
|
|
|
|
[dependencies.pairing]
|
2020-07-28 21:34:36 -07:00
|
|
|
git = "https://github.com/zcash/librustzcash.git"
|
2020-08-13 18:02:53 -07:00
|
|
|
rev = "18b1ce7401184e86031e6d7ddefa7c8d36929296"
|
2018-12-02 18:44:42 -08:00
|
|
|
|
2018-11-21 08:40:18 -08:00
|
|
|
[dependencies.zcash_client_backend]
|
2020-07-28 21:34:36 -07:00
|
|
|
git = "https://github.com/zcash/librustzcash.git"
|
2020-08-13 18:02:53 -07:00
|
|
|
rev = "18b1ce7401184e86031e6d7ddefa7c8d36929296"
|
2019-04-10 10:39:06 -07:00
|
|
|
|
|
|
|
[dependencies.zcash_client_sqlite]
|
2020-07-28 21:34:36 -07:00
|
|
|
git = "https://github.com/zcash/librustzcash.git"
|
2020-08-13 18:02:53 -07:00
|
|
|
rev = "18b1ce7401184e86031e6d7ddefa7c8d36929296"
|
2018-12-02 04:48:13 -08:00
|
|
|
|
|
|
|
[dependencies.zcash_primitives]
|
2020-07-28 21:34:36 -07:00
|
|
|
git = "https://github.com/zcash/librustzcash.git"
|
2020-08-13 18:02:53 -07:00
|
|
|
rev = "18b1ce7401184e86031e6d7ddefa7c8d36929296"
|
2018-11-21 08:40:18 -08:00
|
|
|
|
2019-04-10 10:39:06 -07:00
|
|
|
[dependencies.zcash_proofs]
|
2020-07-28 21:34:36 -07:00
|
|
|
git = "https://github.com/zcash/librustzcash.git"
|
2020-08-13 18:02:53 -07:00
|
|
|
rev = "18b1ce7401184e86031e6d7ddefa7c8d36929296"
|
2020-02-25 11:15:39 -08:00
|
|
|
|
2020-07-28 21:34:36 -07:00
|
|
|
#[patch.'https://github.com/zcash/librustzcash.git']
|
2020-02-25 11:15:39 -08:00
|
|
|
#ff = { path = '../../clones/librustzcash/ff' }
|
|
|
|
#pairing = { path = '../../clones/librustzcash/pairing' }
|
|
|
|
#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' }
|
2019-02-07 07:18:38 -08:00
|
|
|
|
2019-02-08 08:41:54 -08:00
|
|
|
[features]
|
2019-04-10 10:43:24 -07:00
|
|
|
mainnet = ["zcash_client_sqlite/mainnet"]
|
2020-02-26 20:37:09 -08:00
|
|
|
updater = ["futures", "grpc", "httpbis", "protobuf", "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"]
|