mirror of https://github.com/zcash/halo2.git
39 lines
894 B
Rust
39 lines
894 B
Rust
//! # halo2_proofs
|
|
|
|
#![cfg_attr(docsrs, feature(doc_cfg))]
|
|
// The actual lints we want to disable.
|
|
#![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 arithmetic;
|
|
pub mod circuit;
|
|
pub use pasta_curves as pasta;
|
|
mod multicore;
|
|
pub mod plonk;
|
|
pub mod poly;
|
|
pub mod transcript;
|
|
|
|
pub mod dev;
|
|
mod helpers;
|
|
|
|
#[cfg(feature = "counter")]
|
|
extern crate lazy_static;
|
|
|
|
#[cfg(feature = "counter")]
|
|
use lazy_static::lazy_static;
|
|
|
|
#[cfg(feature = "counter")]
|
|
use std::sync::Mutex;
|
|
|
|
#[cfg(feature = "counter")]
|
|
use std::collections::BTreeMap;
|
|
|
|
#[cfg(feature = "counter")]
|
|
lazy_static! {
|
|
static ref FFT_COUNTER: Mutex<BTreeMap<usize, usize>> = Mutex::new(BTreeMap::new());
|
|
static ref MSM_COUNTER: Mutex<BTreeMap<usize, usize>> = Mutex::new(BTreeMap::new());
|
|
}
|