qp_wormhole_circuit/lib.rs
1#![cfg_attr(not(feature = "std"), no_std)]
2// This crate handles the raw spend secret; keep memory handling auditable by
3// construction. Scrubbing that needs volatile writes goes through the vetted
4// `zeroize` dependency instead of local `unsafe` (see `sensitive`).
5#![forbid(unsafe_code)]
6
7extern crate alloc;
8
9pub mod block_header;
10pub mod circuit;
11pub mod inputs;
12pub mod nullifier;
13#[cfg(feature = "profile")]
14pub mod profile;
15pub mod sensitive;
16pub mod substrate_account;
17pub mod unspendable_account;
18pub mod zk_merkle_proof; // 4-ary Poseidon Merkle proof
19
20// Re-export codec traits from common for convenience
21pub use zk_circuits_common::codec::{ByteCodec, FieldElementCodec};