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

Factor out dependency definitions into workspace Cargo.toml. #36

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

kskalski
Copy link
Contributor

@kskalski kskalski commented Aug 18, 2023

Motivation

Different crates use different version of some dependencies (e.g. tokio). Updating dependency version requires going through several files.

Solution

Dependency versions are specified in top level workspace Cargo.toml with typical set of features. Individual crates refer to just the dependency name and optionally customizing the set of features.

PR Checklist

  • [manifest-only change] Added Tests
  • [self descriptive change] Added Documentation
  • [none] Breaking changes

@kskalski kskalski changed the title Factor out dependency definitions into workspace Cargo.toml. Set resolver=2. Factor out dependency definitions into workspace Cargo.toml. Aug 21, 2023
@sslivkoff sslivkoff merged commit 3b37635 into paradigmxyz:main Aug 29, 2023
3 checks passed
@sslivkoff
Copy link
Member

this is great

@kskalski kskalski deleted the refactor/deps branch August 30, 2023 07:41
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.

None yet

2 participants