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

Remove unused dependencies and only use workspace inheritance on shared dependencies #671

Merged
merged 3 commits into from
Jan 31, 2023

Conversation

kevaundray
Copy link
Contributor

Description

This PR removes dependencies that are not being used and if a dependency is only being used by one crate, we do not use workspace inheritance for it. This makes it easier in the future to see which dependencies are unused and which dependencies are shared.

Summary of changes

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.

Additional context

- Remove unused dependencies
- Move all dependencies which are not shared to their own crates
@kevaundray kevaundray force-pushed the kw/delete-unused-deps branch from 5c01024 to de79f5d Compare January 19, 2023 22:07
jfecher
jfecher previously approved these changes Jan 23, 2023
Copy link
Contributor

@jfecher jfecher left a comment

Choose a reason for hiding this comment

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

LGTM. We can merge once conflicts are fixed

@vezenovm
Copy link
Contributor

LGTM. We can merge once conflicts are fixed

Same comment

jfecher
jfecher previously approved these changes Jan 31, 2023
@kevaundray kevaundray merged commit a966279 into master Jan 31, 2023
@kevaundray kevaundray deleted the kw/delete-unused-deps branch January 31, 2023 19:05
TomAFrench added a commit that referenced this pull request Feb 3, 2023
* master:
  Rename methods that use `conditionalize` to be more descriptive (#739)
  feat(noir)!:  Returned values are no longer required by the prover (#731)
  chore: explicit versions for dependencies (#727)
  chore: readability improvements (#726)
  feat(nargo): include short git commit in cli version output (#721)
  Remove print to console for named proofs in `nargo prove` (#718)
  chore: clean up serde-related dependencies (#722)
  Handle out-of-bound errors in CSE (#471) (#673)
  Remove unused dependencies and only use workspace inheritance on shared deps (#671)
  feat(std_lib)!: modulus bits/bytes methods, and to_bits -> to_le_bits (#697)
  Implement numeric generics (#620)
  Review some TODO in SSA (#698)
  Replace `toml_map_to_field` and `toml_remap` with traits to map between `InputValue`s and `TomlTypes` (#677)
  Apply witness visibility on a parameter level rather than witness level (#712)
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.

3 participants