jf_plonk/lib.rs
1// Copyright (c) 2022 Espresso Systems (espressosys.com)
2// This file is part of the Jellyfish library.
3
4// You should have received a copy of the MIT License
5// along with the Jellyfish library. If not, see <https://mit-license.org/>.
6
7//! A Rust Implementation of the Plonk ZKP System and Extensions.
8
9#![cfg_attr(not(feature = "std"), no_std)]
10#![warn(missing_docs)]
11#[cfg(test)]
12extern crate std;
13
14#[macro_use]
15extern crate derivative;
16
17/// Customized circuit
18pub mod circuit;
19pub mod constants;
20pub mod errors;
21pub(crate) mod lagrange;
22pub mod proof_system;
23pub mod transcript;
24
25pub use errors::PlonkError;
26pub use jf_relation::PlonkType;
27
28#[cfg(feature = "test-apis")]
29pub mod testing_apis;