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

treewide: use workspace dependencies #8822

Merged
merged 55 commits into from
Mar 29, 2023

Conversation

Ekleog-NEAR
Copy link
Collaborator

Promised follow-up of #8792. I migrated one crate per commit at the beginning, and when most crates did not lead to changes in the root-level Cargo.toml started migrating a few at once. Would recommend commit-by-commit review as I checked that cargo resolution didn’t change after each commit.

Given the bitrot potential I’m marking as automerge right now.

@Ekleog-NEAR Ekleog-NEAR added C-housekeeping Category: Refactoring, cleanups, code quality S-automerge labels Mar 28, 2023
@Ekleog-NEAR Ekleog-NEAR requested a review from nagisa March 28, 2023 21:05
@Ekleog-NEAR Ekleog-NEAR requested a review from a team as a code owner March 28, 2023 21:05
memoffset = "0.6"
more-asserts = "0.2"
near-account-id = { path = "core/account-id", features = [ "internal_unstable" ] }
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is pretty nice. Features should always be specified by crates that require them, though.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For features, is it a general comment, or a suggested change? In this specific case I think enabling the internal_unstable feature actually makes sense, as any .workspace = true dependency on it would necessarily be internal.

@nagisa
Copy link
Collaborator

nagisa commented Mar 29, 2023

Removed the automerge to give opportunity to address the comments. Feel free to re-add if you want to address these in a follow-up or something.

@Ekleog-NEAR
Copy link
Collaborator Author

Merging, I’ll remove the internal_unstable feature from the workspace cargo.toml in a follow-up PR if you confirm :)

@near-bulldozer near-bulldozer bot merged commit 11a84bf into near:master Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-housekeeping Category: Refactoring, cleanups, code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants