Skip to content

Commit 9c9bc58

Browse files
committed
napi: wrapper for field types
1 parent 0d95c15 commit 9c9bc58

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

plonk-napi/src/lib.rs

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
1-
mod circuit;
2-
mod poseidon;
3-
mod types;
4-
mod wrappers;
5-
mod wasm_vector;
6-
mod poly_comm;
1+
pub(crate) mod poseidon;
2+
pub(crate) mod wrappers;
3+
4+
pub use poseidon::{
5+
caml_pasta_fp_poseidon_block_cipher,
6+
caml_pasta_fq_poseidon_block_cipher,
7+
};
78

8-
pub use circuit::prover_to_json;
9-
pub use poly_comm::{pallas::WasmFqPolyComm, vesta::WasmFpPolyComm};
10-
pub use poseidon::{caml_pasta_fp_poseidon_block_cipher, caml_pasta_fq_poseidon_block_cipher};
11-
pub use types::{prover_index_from_bytes, prover_index_to_bytes, WasmPastaFpPlonkIndex};
12-
pub use wasm_vector::{fp::WasmVecVecFp, fq::WasmVecVecFq};
139
pub use wrappers::field::{WasmPastaFp, WasmPastaFq};
14-
pub use wrappers::group::{WasmGPallas, WasmGVesta};

plonk-napi/src/wrappers/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
pub(crate) mod field;
2-
pub(crate) mod group;

0 commit comments

Comments
 (0)