Publicly expose Wasm type (#65)

This commit is contained in:
Martin Allen 2024-07-09 08:46:14 -07:00 committed by Dmitriy Ryajov
parent 35a1c02b87
commit 9c370ec40d
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
//!
//! Provides bindings to Circom's R1CS, for Groth16 Proof and Witness generation in Rust.
mod witness;
pub use witness::WitnessCalculator;
pub use witness::{Wasm, WitnessCalculator};
pub mod circom;
pub use circom::{CircomBuilder, CircomCircuit, CircomConfig, CircomReduction};

View File

@ -5,7 +5,8 @@ mod memory;
pub(super) use memory::SafeMemory;
mod circom;
pub(super) use circom::{CircomBase, Wasm};
pub(super) use circom::CircomBase;
pub use circom::Wasm;
#[cfg(feature = "circom-2")]
pub(super) use circom::Circom2;