#![doc = include_str!("../README.md")]
#![cfg_attr(not(feature = "std"), no_std)]
#![deny(unsafe_code)]
#![deny(missing_docs)]
#![warn(clippy::pedantic)]
#![allow(
// Architecture kernels conventionally import their intrinsic namespace;
// enumerating the hundreds of instruction names obscures the kernel body.
clippy::wildcard_imports,
clippy::inline_always,
// `chunks_exact` → `as_chunks` is a toolchain-drift lint (not in the
// MSRV 1.89); the hot kernels use `chunks_exact_mut` for const-unchecked
// reasons and changing every site right before release is riskier than
// silencing it. `unknown_lints` keeps the allow portable across toolchains
// that predate the lint. Revisit when the MSRV catches up.
unknown_lints,
clippy::chunks_exact_to_as_chunks,
)]
#[cfg(feature = "alloc")]
extern crate alloc;
pub mod bits;
pub mod field;
pub mod kernel;
pub mod ops;
#[cfg(feature = "internals")]
pub mod internals;
pub use field::{
AES, BinaryDegree, BinaryDescription, BinaryField, BinaryRepr, ByteLogExp, Cantor,
ComplexMersenne31, Components, Elem, Embedding, EmbeddingError, Extension, ExtensionField,
ExtensionSpec, ExtensionStorage, FanPaar2, FanPaar4, FanPaar8, FanPaar16, FanPaar32, FanPaar64,
Field, FieldBuffer, FieldElem, FiniteField, FiniteFieldRepr, Goldilocks, GoldilocksFold,
HasGenerator, Isomorphism, Mersenne31, MersenneFold, Normal, Packed, PackedPadded, PackedWord,
Polynomial, PrimeCharacteristic, PrimeField, PrimeIdentity, QuadMersenne31, RS, RangeError,
Relation, Residue, Rijndael16, Rijndael32, Rijndael64, cantor, description, embedding,
extension, goldilocks, mersenne31, normal, poly, quad_mersenne31, tower,
};
pub use kernel::{
Backend, FGF_TIERS, FieldKernels, KernelBackend, ParseBackendError, backend, backend_for,
has_vector_elementwise,
};