#![cfg_attr(docsrs, feature(doc_cfg))]
#![allow(clippy::op_ref, clippy::many_single_char_names)]
#![deny(rustdoc::broken_intra_doc_links)]
#![deny(missing_debug_implementations)]
#![deny(missing_docs)]
#![deny(unsafe_code)]
pub mod plonk;
pub mod circuit {
pub use halo2_frontend::circuit::floor_planner;
pub use halo2_frontend::circuit::{
AssignedCell, Cell, Chip, Layouter, NamespacedLayouter, Region, RegionIndex,
SimpleFloorPlanner, Table, Value,
};
}
pub mod arithmetic {
pub use halo2_backend::arithmetic::{parallelize, CurveAffine, CurveExt, Field};
}
pub mod dev {
pub use halo2_frontend::dev::{
metadata, CellValue, FailureLocation, InstanceValue, MockProver, VerifyFailure,
};
#[cfg(feature = "cost-estimator")]
pub use halo2_frontend::dev::cost_model;
#[cfg(feature = "dev-graph")]
pub use halo2_frontend::dev::{circuit_dot_graph, CircuitLayout};
}
pub mod poly {
pub use halo2_backend::poly::VerificationStrategy;
pub use halo2_backend::poly::{commitment, kzg, EvaluationDomain};
pub use halo2_middleware::poly::Rotation;
}
pub mod transcript {
pub use halo2_backend::transcript::{
Blake2bRead, Blake2bWrite, Challenge255, EncodedChallenge, Transcript, TranscriptRead,
TranscriptReadBuffer, TranscriptWrite, TranscriptWriterBuffer,
};
}
mod helpers {
pub use halo2_backend::helpers::SerdeFormat;
}
pub use crate::helpers::SerdeFormat;
pub use halo2curves;