Skip to main content

p3_field/
lib.rs

1#![doc = include_str!("../README.md")]
2#![no_std]
3
4extern crate alloc;
5
6mod array;
7mod batch_inverse;
8pub mod coset;
9mod dup;
10pub mod exponentiation;
11pub mod extension;
12mod field;
13mod helpers;
14pub mod integers;
15pub mod op_assign_macros;
16mod packed;
17mod sqrt;
18mod subfield;
19mod vectorized;
20
21pub use array::*;
22pub use batch_inverse::*;
23pub use dup::Dup;
24pub use field::*;
25pub use helpers::*;
26pub use packed::*;
27// Re-exported so the macros this crate exports can name the token-pasting helper through
28// `$crate`, which resolves at the definition site.
29// Without it every crate expanding one of those macros would need its own dependency on it.
30#[doc(hidden)]
31pub use paste;
32pub use sqrt::{tonelli_shanks, tonelli_shanks_two_adic};
33pub use subfield::HasSubfield;
34pub use vectorized::*;