Browse Source

Publicly expose Wasm type (#65)

pull/4/head
Martin Allen 4 months ago
committed by GitHub
parent
commit
fa6262ab58
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      src/lib.rs
  2. +2
    -1
      src/witness/mod.rs

+ 1
- 1
src/lib.rs

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

+ 2
- 1
src/witness/mod.rs

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

Loading…
Cancel
Save