diff --git a/semaphore/src/lib.rs b/semaphore/src/lib.rs index 19d56d3..d5f63d1 100644 --- a/semaphore/src/lib.rs +++ b/semaphore/src/lib.rs @@ -1,8 +1,17 @@ +#![allow(clippy::multiple_crate_versions)] + +pub mod protocol; +pub mod circuit; + +#[cfg(feature = "dylib")] +pub use circuit::initialize; + #[cfg(test)] mod tests { use semaphore::{ - hash_to_field, identity::Identity, poseidon_tree::PoseidonTree, protocol::*, Field, + hash_to_field, identity::Identity, poseidon_tree::PoseidonTree, Field, }; + use crate::protocol::*; #[test] fn test_semaphore() {