Skip to content

Commit

Permalink
chore: pin all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang committed Sep 14, 2023
1 parent 5de49cf commit a8cb951
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 39 deletions.
43 changes: 21 additions & 22 deletions halo2-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ version = "0.3.0"
edition = "2021"

[dependencies]
itertools = "0.10"
num-bigint = { version = "0.4", features = ["rand"] }
num-integer = "0.1"
num-traits = "0.2"
rand_chacha = "0.3"
rustc-hash = "1.1"
ff = "0.12"
rayon = "1.6.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
log = "0.4"
itertools = "=0.10"
num-bigint = { version = "=0.4", features = ["rand"] }
num-integer = "=0.1"
num-traits = "=0.2"
rand_chacha = "=0.3"
rustc-hash = "=1.1"
ff = "=0.12"
rayon = "=1.6.1"
serde = { version = "=1.0", features = ["derive"] }
serde_json = "=1.0"
log = "=0.4"

# Use Axiom's custom halo2 monorepo for faster proving when feature = "halo2-axiom" is on
halo2_proofs_axiom = { git = "https://github.com/axiom-crypto/halo2.git", branch = "axiom/dev", package = "halo2_proofs", optional = true }
halo2_proofs_axiom = { git = "https://github.com/axiom-crypto/halo2.git", rev = "7db51d3", package = "halo2_proofs", optional = true }
# Use PSE halo2 and halo2curves for compatibility when feature = "halo2-pse" is on
halo2_proofs = { git = "https://github.com/privacy-scaling-explorations/halo2.git", tag = "v2023_02_02", optional = true }

Expand All @@ -29,20 +29,19 @@ tabbycat = { version = "0.1", features = ["attributes"], optional = true }
rand = { version = "0.8", optional = true }

[dev-dependencies]
ark-std = { version = "0.3.0", features = ["print-trace"] }
rand = "0.8"
pprof = { version = "0.11", features = ["criterion", "flamegraph"] }
criterion = "0.4"
criterion-macro = "0.4"
rayon = "1.6.1"
test-case = "3.1.0"
proptest = "1.1.0"
ark-std = { version = "=0.3.0", features = ["print-trace"] }
rand = "=0.8"
pprof = { version = "=0.11", features = ["criterion", "flamegraph"] }
criterion = "=0.4"
criterion-macro = "=0.4"
test-case = "=3.1.0"
proptest = "=1.1.0"

# memory allocation
[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = { version = "0.5", optional = true }
jemallocator = { version = "=0.5", optional = true }

mimalloc = { version = "0.1", default-features = false, optional = true }
mimalloc = { version = "=0.1", default-features = false, optional = true }

[features]
default = ["halo2-axiom", "display"]
Expand Down
34 changes: 17 additions & 17 deletions halo2-ecc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@ version = "0.3.0"
edition = "2021"

[dependencies]
itertools = "0.10"
num-bigint = { version = "0.4", features = ["rand"] }
num-integer = "0.1"
num-traits = "0.2"
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
rand = "0.8"
rand_chacha = "0.3.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rayon = "1.6.1"
test-case = "3.1.0"
itertools = "=0.10"
num-bigint = { version = "=0.4", features = ["rand"] }
num-integer = "=0.1"
num-traits = "=0.2"
rand_core = { version = "=0.6", default-features = false, features = ["getrandom"] }
rand = "=0.8"
rand_chacha = "=0.3.1"
serde = { version = "=1.0", features = ["derive"] }
serde_json = "=1.0"
rayon = "=1.6.1"
test-case = "=3.1.0"

# arithmetic
ff = "0.12"
group = "0.12"
ff = "=0.12"
group = "=0.12"

halo2-base = { path = "../halo2-base", default-features = false }

[dev-dependencies]
ark-std = { version = "0.3.0", features = ["print-trace"] }
pprof = { version = "0.11", features = ["criterion", "flamegraph"] }
criterion = "0.4"
criterion-macro = "0.4"
ark-std = { version = "=0.3.0", features = ["print-trace"] }
pprof = { version = "=0.11", features = ["criterion", "flamegraph"] }
criterion = "=0.4"
criterion-macro = "=0.4"
halo2-base = { path = "../halo2-base", default-features = false, features = ["test-utils"] }

[features]
Expand Down

0 comments on commit a8cb951

Please sign in to comment.