-
Notifications
You must be signed in to change notification settings - Fork 67
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
Expose dependencies information in scarb metadata #1653
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Since 2.9 Cairo adds a notion of crate dependencies which limit visibility of other crates in each crate within a compilation unit.
Scarb resolver is the place where all the necessary information for building all dependencies is generated, and Scarb itself is capable of passing this information to the compiler. Unfortunately, other tools (CairoLS,
scarb doc
,cairo lint
) also need it, and currently they have to copy the complex logic from Scarb codebase.Proposed Solution
Add the following properties to
scarb metadata --format-version 1
:Notes
No response
The text was updated successfully, but these errors were encountered: