diff --git a/Cargo.toml b/Cargo.toml index 6fc947fe..7cba8670 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,28 +26,22 @@ blake2b_simd = "0.5" ff = "0.10" fpe = "0.4" group = "0.10" +halo2 = "0.0" lazy_static = "1" pasta_curves = "0.1" proptest = { version = "1.0.0", optional = true } rand = "0.8" nonempty = "0.6" subtle = "2.3" +zcash_note_encryption = "0.0" # Developer tooling dependencies plotters = { version = "0.3.0", optional = true } -[dependencies.halo2] -git = "https://github.com/zcash/halo2.git" -rev = "d04b532368d05b505e622f8cac4c0693574fbd93" - [dependencies.reddsa] git = "https://github.com/str4d/redjubjub.git" rev = "d5d8c5f3bb704bad8ae88fe4a29ae1f744774cb2" -[dependencies.zcash_note_encryption] -git = "https://github.com/zcash/librustzcash.git" -rev = "cc533a9da4f6a7209a7be05f82b12a03969152c9" - [dev-dependencies] criterion = "0.3" hex = "0.4" @@ -63,3 +57,7 @@ test-dependencies = ["proptest"] [[bench]] name = "small" harness = false + +[patch.crates-io] +halo2 = { git = "https://github.com/zcash/halo2.git", rev = "d04b532368d05b505e622f8cac4c0693574fbd93" } +zcash_note_encryption = { git = "https://github.com/zcash/librustzcash.git", rev = "cc533a9da4f6a7209a7be05f82b12a03969152c9" }