Skip to content

Commit 8c83f96

Browse files
Use patch.crates-io in Cargo.toml for halo2 repos
1 parent 30cb675 commit 8c83f96

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

Cargo.lock

Lines changed: 17 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ zip32 = { version = "0.2.0", default-features = false }
4848
visibility = "0.1.1"
4949

5050
# Circuit
51-
halo2_gadgets = { git = "https://github.com/QED-it/halo2", branch = "improve-backward-compatability-without-zsa", optional = true, default-features = false }
52-
halo2_proofs = { git = "https://github.com/QED-it/halo2", branch = "improve-backward-compatability-without-zsa", optional = true, default-features = false, features = ["batch", "floor-planner-v1-legacy-pdqsort"] }
51+
halo2_gadgets = { version = "0.3", optional = true, default-features = false }
52+
halo2_proofs = { version = "0.3", optional = true, default-features = false, features = ["batch", "floor-planner-v1-legacy-pdqsort"] }
5353

5454
# Boilerplate
5555
getset = "0.1"
@@ -66,7 +66,7 @@ plotters = { version = "0.3.0", optional = true }
6666

6767
[dev-dependencies]
6868
criterion = "0.4" # 0.5 depends on clap 4 which has MSRV 1.70
69-
halo2_gadgets = { git = "https://github.com/QED-it/halo2", branch = "improve-backward-compatability-without-zsa", features = ["test-dependencies"] }
69+
halo2_gadgets = { version = "0.3", features = ["test-dependencies"] }
7070
hex = "0.4"
7171
proptest = "1.0.0"
7272
zcash_note_encryption = { version = "0.4", features = ["pre-zip-212"] }
@@ -106,3 +106,7 @@ debug = true
106106

107107
[profile.bench]
108108
debug = true
109+
110+
[patch.crates-io]
111+
halo2_gadgets = { git = "https://github.com/QED-it/halo2", rev = "ed043bd4f360d97eb0739fd503412416b535f27b" }
112+
halo2_proofs = { git = "https://github.com/QED-it/halo2", rev = "ed043bd4f360d97eb0739fd503412416b535f27b" }

0 commit comments

Comments
 (0)