diff --git a/Cargo.toml b/Cargo.toml index 7a7ca9c5..8ea34993 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,8 +12,8 @@ keywords = ["zkSNARKs", "cryptography", "proofs"] rust-version="1.67.1" [dependencies] -bellpepper-core = { version="0.4.0", default-features = false } -bellpepper = { version="0.4.0", default-features = false } +bellpepper-core = { git="https://github.com/lurk-lab/bellpepper", branch="dev", default-features = false } +bellpepper = { git="https://github.com/lurk-lab/bellpepper", branch="dev", default-features = false } ff = { version = "0.13.0", features = ["derive"] } digest = "0.10" sha3 = "0.10" @@ -21,9 +21,9 @@ rayon = "1.7" rand_core = { version = "0.6", default-features = false } rand_chacha = "0.3" subtle = "2.5" -pasta_curves = { version = "0.5", features = ["repr-c", "serde"] } -neptune = { version = "13.0.0", default-features = false } -generic-array = "0.14" +pasta_curves = { git="https://github.com/lurk-lab/pasta_curves", branch="dev", features = ["repr-c", "serde"] } +neptune = { git="https://github.com/lurk-lab/neptune", branch="dev", default-features = false } +generic-array = "0.14.4" num-bigint = { version = "0.4", features = ["serde", "rand"] } num-traits = "0.2" num-integer = "0.1" @@ -37,7 +37,7 @@ group = "0.13.0" once_cell = "1.18.0" [target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dependencies] -pasta-msm = { version = "0.1.4" } +pasta-msm = { git="https://github.com/lurk-lab/pasta-msm", branch="dev", version = "0.1.4" } [target.wasm32-unknown-unknown.dependencies] # see https://github.com/rust-random/rand/pull/948 @@ -77,3 +77,7 @@ portable = ["pasta-msm/portable"] cuda = ["neptune/cuda", "neptune/pasta", "neptune/arity24"] opencl = ["neptune/opencl", "neptune/pasta", "neptune/arity24"] flamegraph = ["pprof/flamegraph", "pprof/criterion"] + +# This is needed to ensure halo2curves, which imports pasta-curves, uses the *same* traits in bn256_grumpkin +[patch.crates-io] +pasta_curves = { git="https://github.com/lurk-lab/pasta_curves", branch="dev" }