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

[Proposal] Simplifying our internal cargo dependencies. #1529

Merged
merged 1 commit into from
Jan 7, 2024

Conversation

Narsil
Copy link
Collaborator

@Narsil Narsil commented Jan 6, 2024

-> Move all our packages inside the workspace dependencies, so all folders (except the packages not in the workspace) can just use workspace = true. That removes the version number from a lot of places, so there is a single number for the entire workspace in the root Cargo.toml.

Packages outside the workspace (flash, kernels, metal-kernels, onnx) still use path dependencies.

@LaurentMazare
Copy link
Collaborator

Looks certainly simpler than using sed as I was doing for the updates but the versions are also not "pinned" anymore in the manifest compared to the old version. That said I'm not sure there was an upside to doing so so let's merge this and see how it goes :)

@LaurentMazare LaurentMazare merged commit b4cb982 into main Jan 7, 2024
23 checks passed
@LaurentMazare LaurentMazare deleted the workspace_cleanup branch January 7, 2024 11:04
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.

2 participants