From 469740d0b9e0dae7684c8d5c196e57ce985d6512 Mon Sep 17 00:00:00 2001 From: gabrielbosio Date: Thu, 7 Mar 2024 19:22:32 -0300 Subject: [PATCH] Expose bn254 module --- Cargo.lock | 1 + curves/Cargo.toml | 1 + curves/src/lib.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 929266adc0..ca85df1b6d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1310,6 +1310,7 @@ name = "mina-curves" version = "0.1.0" dependencies = [ "ark-algebra-test-templates", + "ark-bn254", "ark-ec", "ark-ff", "ark-std", diff --git a/curves/Cargo.toml b/curves/Cargo.toml index 4bbf45f798..9e7e04d3aa 100644 --- a/curves/Cargo.toml +++ b/curves/Cargo.toml @@ -12,6 +12,7 @@ license = "Apache-2.0" [dependencies] ark-ec = { version = "0.3.0", features = ["parallel"] } ark-ff = { version = "0.3.0", features = ["parallel", "asm"] } +ark-bn254 = "0.3.0" [dev-dependencies] rand = { version = "0.8.0", default-features = false } diff --git a/curves/src/lib.rs b/curves/src/lib.rs index ad4c80b8db..859baf6c88 100644 --- a/curves/src/lib.rs +++ b/curves/src/lib.rs @@ -1 +1,2 @@ +pub mod bn254; pub mod pasta;