jf_plonk/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) 2022 Espresso Systems (espressosys.com)
// This file is part of the Jellyfish library.

// You should have received a copy of the MIT License
// along with the Jellyfish library. If not, see <https://mit-license.org/>.

//! A Rust Implementation of the Plonk ZKP System and Extensions.

#![cfg_attr(not(feature = "std"), no_std)]
#![warn(missing_docs)]
#[cfg(test)]
extern crate std;

#[macro_use]
extern crate derivative;

/// Customized circuit
pub mod circuit;
pub mod constants;
pub mod errors;
pub(crate) mod lagrange;
pub mod proof_system;
pub mod transcript;

pub use errors::PlonkError;
pub use jf_relation::PlonkType;

#[cfg(feature = "test-apis")]
pub mod testing_apis;