Skip to main content

kimchi/
lib.rs

1#![doc = include_str!("../README.md")]
2// Allow non_local_definitions from derive macros (proptest_derive, ocaml)
3// until upstream crates are updated.
4// See https://github.com/o1-labs/mina-rust/issues/1954
5#![allow(non_local_definitions)]
6
7pub use groupmap;
8pub use mina_curves;
9pub use mina_poseidon;
10pub use o1_utils;
11pub use poly_commitment;
12
13pub mod alphas;
14pub mod bench;
15pub mod circuits;
16pub mod curve;
17pub mod error;
18pub mod lagrange_basis_evaluations;
19pub mod linearization;
20pub mod oracles;
21pub mod plonk_sponge;
22pub mod proof;
23pub mod prover;
24pub mod prover_index;
25pub mod verifier;
26pub mod verifier_index;
27
28#[cfg(test)]
29mod tests;
30
31/// Handy macro to return the filename and line number of a place in the code.
32#[macro_export]
33macro_rules! loc {
34    () => {{
35        ::std::borrow::Cow::Owned(format!("{}:{}", file!(), line!()))
36    }};
37}