65 lines
2.9 KiB
TOML
65 lines
2.9 KiB
TOML
[package]
|
|
name = "zcash-android-wallet-sdk"
|
|
version = "0.0.4"
|
|
authors = [
|
|
"Jack Grigg <jack@z.cash>",
|
|
"Kevin Gorham <kevin.gorham@z.cash>",
|
|
]
|
|
description = "JNI backend for the Android wallet SDK"
|
|
publish = false
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
android_logger = "0.9"
|
|
failure = "0.1"
|
|
hdwallet = "0.3.1"
|
|
hdwallet-bitcoin = "0.3"
|
|
hex = "0.4"
|
|
jni = { version = "0.19", default-features = false }
|
|
log = "0.4"
|
|
log-panics = "2.0.0"
|
|
schemer = "0.2"
|
|
secp256k1 = "0.21"
|
|
secrecy = "0.8"
|
|
zcash_address = "0.1"
|
|
zcash_client_backend = { version = "0.5", features = ["transparent-inputs", "unstable"] }
|
|
zcash_client_sqlite = { version = "0.3", features = ["transparent-inputs", "unstable"] }
|
|
zcash_primitives = "0.7"
|
|
zcash_proofs = "0.7"
|
|
|
|
# Revision corresponds to the pending zcash_primitives 0.8.0.
|
|
[patch.crates-io]
|
|
orchard = { git = "https://github.com/zcash/orchard.git", rev = "4035a97d178f99bb889f4d7ed26c59378fa88961" }
|
|
schemer = { git = "https://github.com/aschampion/schemer.git", rev = "6726b60f43f72c6e24a18d31be0ec7d42829e5e1" }
|
|
schemer-rusqlite = { git = "https://github.com/aschampion/schemer.git", rev = "6726b60f43f72c6e24a18d31be0ec7d42829e5e1" }
|
|
zcash_address = { git = 'https://github.com/zcash/librustzcash.git', rev='b3dc323876e07d990392855c30a2958d37750e24' }
|
|
zcash_client_backend = { git = 'https://github.com/zcash/librustzcash.git', rev='b3dc323876e07d990392855c30a2958d37750e24' }
|
|
zcash_client_sqlite = { git = 'https://github.com/zcash/librustzcash.git', rev='b3dc323876e07d990392855c30a2958d37750e24' }
|
|
zcash_primitives = { git = 'https://github.com/zcash/librustzcash.git', rev='b3dc323876e07d990392855c30a2958d37750e24' }
|
|
zcash_proofs = { git = 'https://github.com/zcash/librustzcash.git', rev='b3dc323876e07d990392855c30a2958d37750e24' }
|
|
|
|
## Uncomment this to test librustzcash changes locally
|
|
#[patch.crates-io]
|
|
#zcash_address = { path = '../../clones/librustzcash/components/zcash_address' }
|
|
#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]
|
|
#zcash_address = { git = "https://github.com/zcash/librustzcash", branch = "branch-name" }
|
|
#zcash_client_backend = { git = "https://github.com/zcash/librustzcash", branch = "branch-name" }
|
|
#zcash_client_sqlite = { git = "https://github.com/zcash/librustzcash", branch = "branch-name" }
|
|
#zcash_primitives = { git = "https://github.com/zcash/librustzcash", branch = "branch-name" }
|
|
#zcash_proofs = { git = "https://github.com/zcash/librustzcash", branch = "branch-name" }
|
|
|
|
[features]
|
|
mainnet = ["zcash_client_sqlite/mainnet"]
|
|
testnet = []
|
|
|
|
[lib]
|
|
name = "zcashwalletsdk"
|
|
path = "src/main/rust/lib.rs"
|
|
crate-type = ["staticlib", "cdylib"]
|