From bcba2a9d5158323c4bde2548aae3b1ad5833e925 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Wed, 20 Sep 2023 10:44:33 -0600 Subject: [PATCH] Update to librustzcash patch with SQLite 3.19 support for Android API 27 --- backend-lib/Cargo.lock | 24 ++++++++---------------- backend-lib/Cargo.toml | 9 +++++++++ 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/backend-lib/Cargo.lock b/backend-lib/Cargo.lock index eadef59a..708f5b55 100644 --- a/backend-lib/Cargo.lock +++ b/backend-lib/Cargo.lock @@ -465,8 +465,7 @@ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "equihash" version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab579d7cf78477773b03e80bc2f89702ef02d7112c711d54ca93dcdce68533d5" +source = "git+https://github.com/zcash/librustzcash?rev=b69d80f25d583ae9084b29c1a94ee451954997ab#b69d80f25d583ae9084b29c1a94ee451954997ab" dependencies = [ "blake2b_simd", "byteorder", @@ -502,8 +501,7 @@ dependencies = [ [[package]] name = "f4jumble" version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a83e8d7fd0c526af4aad893b7c9fe41e2699ed8a776a6c74aecdeafe05afc75" +source = "git+https://github.com/zcash/librustzcash?rev=b69d80f25d583ae9084b29c1a94ee451954997ab#b69d80f25d583ae9084b29c1a94ee451954997ab" dependencies = [ "blake2b_simd", ] @@ -2101,8 +2099,7 @@ dependencies = [ [[package]] name = "zcash_address" version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8944af5c206cf2e37020ad54618e1825501b98548d35a638b73e0ec5762df8d5" +source = "git+https://github.com/zcash/librustzcash?rev=b69d80f25d583ae9084b29c1a94ee451954997ab#b69d80f25d583ae9084b29c1a94ee451954997ab" dependencies = [ "bech32", "bs58", @@ -2113,8 +2110,7 @@ dependencies = [ [[package]] name = "zcash_client_backend" version = "0.10.0-rc.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b86202e864bded402de467ef6dc0d5c71fad51a6809c27d869e7ccc79c9e13b" +source = "git+https://github.com/zcash/librustzcash?rev=b69d80f25d583ae9084b29c1a94ee451954997ab#b69d80f25d583ae9084b29c1a94ee451954997ab" dependencies = [ "base64", "bech32", @@ -2148,8 +2144,7 @@ dependencies = [ [[package]] name = "zcash_client_sqlite" version = "0.8.0-rc.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "627ff1d6b852be1db749f15b448f63a40964f5ddc397b13f19007fc36c9761bf" +source = "git+https://github.com/zcash/librustzcash?rev=b69d80f25d583ae9084b29c1a94ee451954997ab#b69d80f25d583ae9084b29c1a94ee451954997ab" dependencies = [ "bs58", "byteorder", @@ -2175,8 +2170,7 @@ dependencies = [ [[package]] name = "zcash_encoding" version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f03391b81727875efa6ac0661a20883022b6fba92365dc121c48fa9b00c5aac0" +source = "git+https://github.com/zcash/librustzcash?rev=b69d80f25d583ae9084b29c1a94ee451954997ab#b69d80f25d583ae9084b29c1a94ee451954997ab" dependencies = [ "byteorder", "nonempty", @@ -2198,8 +2192,7 @@ dependencies = [ [[package]] name = "zcash_primitives" version = "0.13.0-rc.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cc4391d9325e0a51a7cbff02b5c4b5472d66087bd9c903ddb12dea7ec22f3e0" +source = "git+https://github.com/zcash/librustzcash?rev=b69d80f25d583ae9084b29c1a94ee451954997ab#b69d80f25d583ae9084b29c1a94ee451954997ab" dependencies = [ "aes", "bip0039", @@ -2234,8 +2227,7 @@ dependencies = [ [[package]] name = "zcash_proofs" version = "0.13.0-rc.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48f22eff3bdc382327ef28f809024ddc89ec6d903ba71be629b2cbea34afdda2" +source = "git+https://github.com/zcash/librustzcash?rev=b69d80f25d583ae9084b29c1a94ee451954997ab#b69d80f25d583ae9084b29c1a94ee451954997ab" dependencies = [ "bellman", "blake2b_simd", diff --git a/backend-lib/Cargo.toml b/backend-lib/Cargo.toml index 4db5b789..ec48209d 100644 --- a/backend-lib/Cargo.toml +++ b/backend-lib/Cargo.toml @@ -65,3 +65,12 @@ testnet = [] name = "zcashwalletsdk" path = "src/main/rust/lib.rs" crate-type = ["staticlib", "cdylib"] + +[patch.crates-io] +zcash_address = { git = "https://github.com/zcash/librustzcash", rev = "b69d80f25d583ae9084b29c1a94ee451954997ab" } +zcash_encoding = { git = "https://github.com/zcash/librustzcash", rev = "b69d80f25d583ae9084b29c1a94ee451954997ab" } +zcash_client_backend = { git = "https://github.com/zcash/librustzcash", rev = "b69d80f25d583ae9084b29c1a94ee451954997ab" } +zcash_client_sqlite = { git = "https://github.com/zcash/librustzcash", rev = "b69d80f25d583ae9084b29c1a94ee451954997ab" } +zcash_primitives = { git = "https://github.com/zcash/librustzcash", rev = "b69d80f25d583ae9084b29c1a94ee451954997ab" } +zcash_proofs = { git = "https://github.com/zcash/librustzcash", rev = "b69d80f25d583ae9084b29c1a94ee451954997ab" } +