Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make circom as a lib and makesub module public #227

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions circom/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
mod compilation_user;
mod execution_user;
mod input_user;
mod parser_user;
mod type_analysis_user;
pub mod compilation_user;
pub mod execution_user;
pub mod input_user;
pub mod parser_user;
pub mod type_analysis_user;

const VERSION: &'static str = env!("CARGO_PKG_VERSION");

Expand Down Expand Up @@ -42,7 +42,7 @@ fn start() -> Result<(), ()> {
sym: user_input.sym_file().to_string(),
r1cs: user_input.r1cs_file().to_string(),
json_constraints: user_input.json_constraints_file().to_string(),
prime: user_input.prime(),
prime: user_input.prime(),
};
let circuit = execution_user::execute_project(program_archive, config)?;
let compilation_config = CompilerConfig {
Expand Down