Skip to content

Commit

Permalink
chore: snark-verifier re-exports halo2-base, halo2-ecc (#38)
Browse files Browse the repository at this point in the history
and `snark-verifier-sdk` re-exports `snark-verifier`. This is to
minimize cargo dependency / version issues until we publish to crates.io.
  • Loading branch information
jonathanpwang committed Oct 22, 2023
1 parent 624b003 commit 9825666
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snark-verifier-sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ use std::{
path::Path,
};

pub use snark_verifier;

#[cfg(feature = "loader_evm")]
pub mod evm;
#[cfg(feature = "loader_halo2")]
Expand Down
4 changes: 4 additions & 0 deletions snark-verifier/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9825666

Please sign in to comment.