Skip to content

Commit

Permalink
Merge pull request #66 from zcash-hackworks/librustzcash_0_7
Browse files Browse the repository at this point in the history
Update to librustzcash version 0.7, take 2
  • Loading branch information
pacu authored Nov 16, 2022
2 parents 1fae84c + d305bb7 commit 8fd64cb
Show file tree
Hide file tree
Showing 3 changed files with 202 additions and 147 deletions.
59 changes: 29 additions & 30 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 4 additions & 16 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ secp256k1 = "0.21"
secrecy = "0.8"

zcash_address = { version = "0.2" }
zcash_client_backend = { version = "0.5", features = ["transparent-inputs", "unstable"] }
zcash_client_sqlite = { version = "0.3", features = ["transparent-inputs", "unstable"] }
zcash_primitives = "0.8.1"
zcash_proofs = "0.8"
zcash_client_backend = { version = "0.6", features = ["transparent-inputs", "unstable"] }
zcash_client_sqlite = { version = "0.4", features = ["transparent-inputs", "unstable"] }
zcash_primitives = "0.9"
zcash_proofs = "0.9"

[build-dependencies]
cbindgen = "0.14"
Expand All @@ -35,18 +35,6 @@ crate-type = ["staticlib"]
[profile.release]
lto = true

# Revision corresponds to zcash_primitives 0.6.0 plus the NU5 mainnet activation height.
# We also need zcash_client_backend and zcash_client_sqlite, which haven't been published
# with NU5 updates yet.
[patch.crates-io]
zcash_address = { git = 'https://github.com/zcash/librustzcash.git', rev='6047c1d0030b2a40abd35cbc7ba15bd2bd63fc8d' }
zcash_client_backend = { git = 'https://github.com/zcash/librustzcash.git', rev='6047c1d0030b2a40abd35cbc7ba15bd2bd63fc8d' }
zcash_client_sqlite = { git = 'https://github.com/zcash/librustzcash.git', rev='6047c1d0030b2a40abd35cbc7ba15bd2bd63fc8d' }
zcash_primitives = { git = 'https://github.com/zcash/librustzcash.git', rev='6047c1d0030b2a40abd35cbc7ba15bd2bd63fc8d' }
zcash_proofs = { git = 'https://github.com/zcash/librustzcash.git', rev='6047c1d0030b2a40abd35cbc7ba15bd2bd63fc8d' }
schemer = { git = "https://github.com/aschampion/schemer.git", rev = "6726b60f43f72c6e24a18d31be0ec7d42829e5e1" }
schemer-rusqlite = { git = "https://github.com/aschampion/schemer.git", rev = "6726b60f43f72c6e24a18d31be0ec7d42829e5e1" }

[features]
mainnet = ["zcash_client_sqlite/mainnet"]
testnet = []
Loading

0 comments on commit 8fd64cb

Please sign in to comment.