Add missing FFI modules
New FFI modules required for `libzcash_script`.
This commit is contained in:
parent
1765456794
commit
337f5eb182
16
Cargo.toml
16
Cargo.toml
|
@ -50,8 +50,16 @@ path = "src/lib.rs"
|
|||
external-secp = []
|
||||
|
||||
[dependencies]
|
||||
libc="0.2"
|
||||
blake2b_simd = "0.5.10"
|
||||
halo2 = "0.1.0-beta.1"
|
||||
incrementalmerkletree = "0.1"
|
||||
libc = "0.2"
|
||||
memuse = "0.2"
|
||||
orchard = "0.0"
|
||||
rand_core = "0.6"
|
||||
tracing = "0.1"
|
||||
zcash_note_encryption = "0.0"
|
||||
zcash_primitives = "0.5"
|
||||
|
||||
[build-dependencies]
|
||||
cc = { version = ">= 1.0.36", features = ["parallel"] }
|
||||
|
@ -96,3 +104,9 @@ file="CHANGELOG.md"
|
|||
search="<!-- next-url -->"
|
||||
replace="<!-- next-url -->\n[Unreleased]: https://github.com/ZcashFoundation/{{crate_name}}/compare/{{tag_name}}...HEAD"
|
||||
exactly=1
|
||||
|
||||
[patch.crates-io]
|
||||
incrementalmerkletree = { git = "https://github.com/zcash/incrementalmerkletree", rev = "b7bd6246122a6e9ace8edb51553fbf5228906cbb" }
|
||||
orchard = { git = "https://github.com/zcash/orchard.git", rev = "2c8241f25b943aa05203eacf9905db117c69bd29" }
|
||||
zcash_note_encryption = { git = "https://github.com/zcash/librustzcash.git", rev = "53d0a51d33a421cb76d3e3124d1e4c1c9036068e" }
|
||||
zcash_primitives = { git = "https://github.com/zcash/librustzcash.git", rev = "53d0a51d33a421cb76d3e3124d1e4c1c9036068e" }
|
||||
|
|
|
@ -6,7 +6,12 @@
|
|||
|
||||
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
||||
|
||||
static mut ORCHARD_VK: Option<orchard::circuit::VerifyingKey> = None;
|
||||
|
||||
mod blake2b;
|
||||
mod orchard_ffi;
|
||||
mod streams_ffi;
|
||||
mod transaction_ffi;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../depend/zcash/src/rust/src/orchard_ffi
|
|
@ -0,0 +1 @@
|
|||
../depend/zcash/src/rust/src/orchard_ffi.rs
|
|
@ -0,0 +1 @@
|
|||
include!("../depend/zcash/src/rust/src/streams_ffi.rs");
|
|
@ -0,0 +1 @@
|
|||
include!("../depend/zcash/src/rust/src/transaction_ffi.rs");
|
Loading…
Reference in New Issue