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;
12pub use turshi;
13
14pub mod alphas;
15pub mod bench;
16pub mod circuits;
17pub mod curve;
18pub mod error;
19pub mod lagrange_basis_evaluations;
20pub mod linearization;
21pub mod oracles;
22pub mod plonk_sponge;
23pub mod proof;
24pub mod prover;
25pub mod prover_index;
26pub mod verifier;
27pub mod verifier_index;
28
29#[cfg(test)]
30mod tests;
31
32/// Handy macro to return the filename and line number of a place in the code.
33#[macro_export]
34macro_rules! loc {
35    () => {{
36        ::std::borrow::Cow::Owned(format!("{}:{}", file!(), line!()))
37    }};
38}