1#![cfg_attr(not(any(feature = "std", test)), no_std)]
5extern crate alloc;
6
7use lazy_static::lazy_static;
8
9lazy_static! {
10 pub static ref PLONK_VK_BYTES: &'static [u8] = include_bytes!("../bn254-vk/plonk_vk.bin");
12}
13
14lazy_static! {
15 pub static ref GROTH16_VK_BYTES: &'static [u8] = include_bytes!("../bn254-vk/groth16_vk.bin");
17}
18
19mod constants;
20mod converter;
21mod error;
22
23mod utils;
24pub use utils::*;
25
26pub use groth16::{error::Groth16Error, Groth16Verifier};
27mod groth16;
28
29#[cfg(feature = "ark")]
30pub use groth16::ark_converter::*;
31
32pub use plonk::{error::PlonkError, PlonkVerifier};
33mod plonk;
34
35#[cfg(test)]
36mod tests;