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(nargo): split nargo into core and cli packages #1065

Merged
merged 4 commits into from
Mar 30, 2023
Merged

Conversation

TomAFrench
Copy link
Member

@TomAFrench TomAFrench commented Mar 29, 2023

Related issue(s)

Related to #1063

Description

Summary of changes

This PR splits the nargo package into nargo and nargo_cli.

  • nargo_cli builds the current nargo binary.
  • nargo is a core library which will be the interface for other programs to interact with. Any logic which isn't specific to the command line should exist here.

Note this doesn't close #1063 as it's just the very first step of splitting these crates, we can migrate more functionality in future. This PR however performs the initial diff-heavy changes for just rearranging files.

Dependency additions / changes

Test additions / changes

Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt with default settings.
  • I have linked this PR to the issue(s) that it resolves.
  • I have reviewed the changes on GitHub, line by line.
  • I have ensured all changes are covered in the description.

Documentation needs

  • This PR requires documentation updates when merged.

Additional context

@TomAFrench TomAFrench changed the title feat: perform initial split of nargo into core and cli packages feat(nargo): split nargo into core and cli packages Mar 29, 2023
Copy link
Contributor

@kobyhallx kobyhallx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@TomAFrench TomAFrench added this pull request to the merge queue Mar 29, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 29, 2023
@TomAFrench TomAFrench added this pull request to the merge queue Mar 30, 2023
Merged via the queue into master with commit 7c388f9 Mar 30, 2023
@TomAFrench TomAFrench deleted the nargo-core branch March 30, 2023 09:56
@Ethan-000 Ethan-000 mentioned this pull request Mar 30, 2023
1 task
TomAFrench added a commit that referenced this pull request Apr 3, 2023
* master:
  chore: handle public parameters and return values separately in evaluator (#1062)
  chore(ssa): Rename ObjectType::Pointer to ObjectType::ArrayPointer (#1077)
  chore(ssa): indent NumericType into ObjectType (#810)
  chore: apply spelling fixes (#1073)
  feat: Implement `std::unsafe::zeroed` (#1048)
  fix: crash when typechecking fields that don't exist (#1070)
  feat: Implement arrays of structs (#1068)
  feat(nargo): split `nargo` into core and cli packages (#1065)
  chore: split wasm crate into submodules (#1066)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split nargo crate into nargo_core and nargo_cli
2 participants