openvm_pairing/lib.rs
1#![no_std]
2
3#[cfg(any(feature = "bn254", feature = "bls12_381"))]
4mod operations;
5
6#[allow(unused_imports)]
7#[cfg(any(feature = "bn254", feature = "bls12_381"))]
8pub(crate) use operations::*;
9
10/// Types for BLS12-381 curve with intrinsic functions.
11#[cfg(feature = "bls12_381")]
12pub mod bls12_381;
13/// Types for BN254 curve with intrinsic functions.
14#[cfg(feature = "bn254")]
15pub mod bn254;
16
17pub use openvm_pairing_guest::pairing::PairingCheck;