From e77173f266867ba4b4d6202b96564511d44922cf Mon Sep 17 00:00:00 2001 From: Jeremy Felder Date: Thu, 8 Feb 2024 16:23:44 +0200 Subject: [PATCH] Fix: examples path deps (#363) Change rust example deps to use paths Co-authored-by: Leon Hibnik <107353745+LeonHibnik@users.noreply.github.com> --- examples/rust/msm/Cargo.toml | 10 +++++----- examples/rust/ntt/Cargo.toml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/rust/msm/Cargo.toml b/examples/rust/msm/Cargo.toml index af22da0d..479f13cc 100644 --- a/examples/rust/msm/Cargo.toml +++ b/examples/rust/msm/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "msm" -version = "1.0.0" +version = "1.2.0" edition = "2018" [dependencies] -icicle-cuda-runtime = { git = "https://github.com/ingonyama-zk/icicle.git", tag = "v1.1.0" } -icicle-core = { git = "https://github.com/ingonyama-zk/icicle.git", tag = "v1.1.0" } -icicle-bn254 = { git = "https://github.com/ingonyama-zk/icicle.git", tag = "v1.1.0", features = [ "g2" ] } -icicle-bls12-377 = { git = "https://github.com/ingonyama-zk/icicle.git", tag = "v1.1.0" } +icicle-cuda-runtime = { path = "../../../wrappers/rust/icicle-cuda-runtime" } +icicle-core = { path = "../../../wrappers/rust/icicle-core" } +icicle-bn254 = { path = "../../../wrappers/rust/icicle-curves/icicle-bn254", features = ["g2"] } +icicle-bls12-377 = { path = "../../../wrappers/rust/icicle-curves/icicle-bls12-377" } ark-bn254 = { version = "0.4.0", optional = true} ark-bls12-377 = { version = "0.4.0", optional = true} ark-ec = { version = "0.4.0", optional = true} diff --git a/examples/rust/ntt/Cargo.toml b/examples/rust/ntt/Cargo.toml index 09d19fbb..20a99f18 100644 --- a/examples/rust/ntt/Cargo.toml +++ b/examples/rust/ntt/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "ntt" -version = "1.0.0" +version = "1.2.0" edition = "2018" [dependencies] -icicle-cuda-runtime = { git = "https://github.com/ingonyama-zk/icicle.git", tag = "v1.1.0" } -icicle-core = { git = "https://github.com/ingonyama-zk/icicle.git", tag = "v1.1.0", features = ["arkworks"] } -icicle-bn254 = { git = "https://github.com/ingonyama-zk/icicle.git", tag = "v1.1.0", features = ["arkworks"] } -icicle-bls12-377 = { git = "https://github.com/ingonyama-zk/icicle.git", tag = "v1.1.0", features = ["arkworks"] } +icicle-cuda-runtime = { path = "../../../wrappers/rust/icicle-cuda-runtime" } +icicle-core = { path = "../../../wrappers/rust/icicle-core", features = ["arkworks"] } +icicle-bn254 = { path = "../../../wrappers/rust/icicle-curves/icicle-bn254", features = ["arkworks"] } +icicle-bls12-377 = { path = "../../../wrappers/rust/icicle-curves/icicle-bls12-377", features = ["arkworks"] } ark-ff = { version = "0.4.0" } ark-poly = "0.4.0"