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

Split nargo crate into nargo_core and nargo_cli #1063

Closed
1 task done
TomAFrench opened this issue Mar 29, 2023 · 0 comments · Fixed by #1065
Closed
1 task done

Split nargo crate into nargo_core and nargo_cli #1063

TomAFrench opened this issue Mar 29, 2023 · 0 comments · Fixed by #1065
Labels
enhancement New feature or request

Comments

@TomAFrench
Copy link
Member

TomAFrench commented Mar 29, 2023

Problem

There's currently no good way to prove/verify from an external program other than by shelling out to call into nargo. We should have a simple rust library which exposes the core functionality of nargo, this would then be used by external rust programs and also feed into our wasm builds to keep as much shared logic as possible.

Proposed solution

We should split the nargo crate into two. nargo should contain any logic which is specific to the command line, e.g. CLI command definitions, package resolution, etc. whereas nargo-core should hold any reusable logic which would be useful to be used as a library.

Alternatives considered

No response

Additional context

No response

Submission Checklist

  • Once I hit submit, I will assign this issue to the Project Board with the appropriate tags.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant