Skip to content

Commit

Permalink
add features
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangxiecrypto committed Aug 28, 2024
1 parent 83eb022 commit 43403fe
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions algebra/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
#![deny(missing_docs)]

//! Define arithmetic operations.
#[cfg(feature = "concrete-ntt")]
mod baby_bear;

#[cfg(feature = "concrete-ntt")]
mod goldilocks;

mod decompose_basis;
mod error;
mod extension;
mod field;
mod goldilocks;
mod polynomial;
mod primitive;
mod random;
Expand All @@ -19,12 +22,16 @@ pub mod reduce;
pub mod transformation;
pub mod utils;

#[cfg(feature = "concrete-ntt")]
pub use baby_bear::{BabyBear, BabyBearExetension};

#[cfg(feature = "concrete-ntt")]
pub use goldilocks::{Goldilocks, GoldilocksExtension};

pub use decompose_basis::Basis;
pub use error::AlgebraError;
pub use extension::*;
pub use field::{DecomposableField, FheField, Field, NTTField, PrimeField};
pub use goldilocks::{Goldilocks, GoldilocksExtension};
pub use polynomial::multivariate::{
DenseMultilinearExtension, ListOfProductsOfPolynomials, MultilinearExtension, PolynomialInfo,
SparsePolynomial,
Expand Down

0 comments on commit 43403fe

Please sign in to comment.