Skip to content

Commit 87d1508

Browse files
committed
napi: export contents of gate_vector module
1 parent d4e09e2 commit 87d1508

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

plonk-napi/src/lib.rs

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,24 @@ pub(crate) mod poseidon;
44
pub(crate) mod wasm_vector;
55
pub(crate) mod wrappers;
66

7-
pub use poseidon::{
8-
caml_pasta_fp_poseidon_block_cipher,
9-
caml_pasta_fq_poseidon_block_cipher,
10-
};
7+
pub use poseidon::{caml_pasta_fp_poseidon_block_cipher, caml_pasta_fq_poseidon_block_cipher};
118

12-
pub use wrappers::group::{WasmGPallas, WasmGVesta};
13-
pub use wasm_vector::{fp::WasmVecVecFp, fq::WasmVecVecFq};
9+
pub use gate_vector::{
10+
fp::{
11+
caml_pasta_fp_plonk_circuit_digest, caml_pasta_fp_plonk_circuit_serialize,
12+
caml_pasta_fp_plonk_gate_vector_add, caml_pasta_fp_plonk_gate_vector_create,
13+
caml_pasta_fp_plonk_gate_vector_digest, caml_pasta_fp_plonk_gate_vector_get,
14+
caml_pasta_fp_plonk_gate_vector_len, caml_pasta_fp_plonk_gate_vector_wrap,
15+
NapiFpGate as WasmFpGate, NapiFpGateVector as WasmFpGateVector,
16+
},
17+
fq::{
18+
caml_pasta_fq_plonk_circuit_digest, caml_pasta_fq_plonk_circuit_serialize,
19+
caml_pasta_fq_plonk_gate_vector_add, caml_pasta_fq_plonk_gate_vector_create,
20+
caml_pasta_fq_plonk_gate_vector_digest, caml_pasta_fq_plonk_gate_vector_get,
21+
caml_pasta_fq_plonk_gate_vector_len, caml_pasta_fq_plonk_gate_vector_wrap,
22+
NapiFqGate as WasmFqGate, NapiFqGateVector as WasmFqGateVector,
23+
},
24+
};
1425
pub use poly_comm::{pallas::WasmFqPolyComm, vesta::WasmFpPolyComm};
26+
pub use wasm_vector::{fp::WasmVecVecFp, fq::WasmVecVecFq};
27+
pub use wrappers::group::{WasmGPallas, WasmGVesta};

0 commit comments

Comments
 (0)