Skip to content

Commit

Permalink
Publicly expose Wasm type (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
martyall authored Jul 9, 2024
1 parent 967add4 commit fa6262a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
3 changes: 2 additions & 1 deletion src/witness/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fa6262a

Please sign in to comment.