Skip to main content

commonware_math/
lib.rs

1#![doc = include_str!("../README.md")]
2#![doc(
3    html_logo_url = "https://commonware.xyz/imgs/rustdoc_logo.svg",
4    html_favicon_url = "https://commonware.xyz/favicon.ico"
5)]
6#![cfg_attr(not(any(feature = "std", test)), no_std)]
7
8#[cfg(not(feature = "std"))]
9extern crate alloc;
10
11commonware_macros::stability_scope!(ALPHA {
12    pub mod fields {
13        pub mod goldilocks;
14    }
15    pub mod ntt;
16});
17commonware_macros::stability_scope!(BETA {
18    pub mod algebra;
19    pub mod poly;
20});
21
22#[cfg(test)]
23pub(crate) mod test;