From 9825666c0dfb34a07a9ee88a426eda3cb2352630 Mon Sep 17 00:00:00 2001 From: Jonathan Wang <31040440+jonathanpwang@users.noreply.github.com> Date: Sun, 22 Oct 2023 10:18:52 -0700 Subject: [PATCH] chore: `snark-verifier` re-exports `halo2-base`, `halo2-ecc` (#38) and `snark-verifier-sdk` re-exports `snark-verifier`. This is to minimize cargo dependency / version issues until we publish to crates.io. --- snark-verifier-sdk/src/lib.rs | 2 ++ snark-verifier/src/lib.rs | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/snark-verifier-sdk/src/lib.rs b/snark-verifier-sdk/src/lib.rs index 40401a4c..932b20ab 100644 --- a/snark-verifier-sdk/src/lib.rs +++ b/snark-verifier-sdk/src/lib.rs @@ -25,6 +25,8 @@ use std::{ path::Path, }; +pub use snark_verifier; + #[cfg(feature = "loader_evm")] pub mod evm; #[cfg(feature = "loader_halo2")] diff --git a/snark-verifier/src/lib.rs b/snark-verifier/src/lib.rs index e9866167..8dab89c9 100644 --- a/snark-verifier/src/lib.rs +++ b/snark-verifier/src/lib.rs @@ -13,6 +13,10 @@ pub mod verifier; pub(crate) use halo2_base::halo2_proofs; pub(crate) use halo2_proofs::halo2curves as halo2_curves; +pub use halo2_base; +#[cfg(feature = "loader_halo2")] +pub use halo2_ecc; + /// Error that could happen while verification. #[derive(Clone, Debug)] pub enum Error {