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

Convert to Cargo workspace #141

Conversation

notlesh
Copy link
Collaborator

@notlesh notlesh commented Apr 10, 2024

This PR converts the project to a Cargo workspace structure.

The root Cargo.toml is a bit messy as each dependency is duplicated (this isn't exactly obvious from the diff); I think this is a consequence of having a crate in the root directory itself. This could be fixed by moving the snos crate to a subdir but that would be very disruptive.

cairo-lang-filesystem = { workspace = true }
cairo-lang-semantic = { workspace = true }
cairo-lang-sierra = { workspace = true }
cairo-lang-syntax = { workspace = true }
Copy link
Contributor

Choose a reason for hiding this comment

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

I hadn't thought about this duplication. This limits the interest of the workspace. I'm not sure if this is the right way to go. What do you think?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Agreed, it's a nuisance, and isn't very valuable with only a couple minor sub-crates. I'm rather indifferent.

These dependencies would be duplicated in any case, but it would be cleaner if the crate snos was in a subdir. We could make that change while we don't have many PRs open... 🤷

@odesenfans
Copy link
Contributor

As decided, let's close this for now.

@odesenfans odesenfans closed this Apr 11, 2024
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