-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
[Merged by Bors] - Switch to workspace inherited properties #2297
Conversation
Test262 conformance changesVM implementation
|
Codecov Report
@@ Coverage Diff @@
## main #2297 +/- ##
==========================================
- Coverage 41.25% 41.24% -0.02%
==========================================
Files 237 237
Lines 22345 22347 +2
==========================================
- Hits 9219 9216 -3
- Misses 13126 13131 +5
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Apparently dependabot doesn't have support for inherited dependencies (tracked in dependabot/dependabot-core#5315), so lifting the common dependencies is blocked by that issue. Doesn't affect this PR though, since this only lifts intra-workspace dependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
We should probably keep this change in mind for the 0.17 release, to see if it works correct with cargo-workspaces publish
.
Cargo.toml
Outdated
|
||
[workspace.dependencies] | ||
boa_engine = { version = "0.15.0", path = "boa_engine" } | ||
boa_interner = { version = "0.15.0", path = "boa_interner" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if version is not specified?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Crates.io rejects publishing the crate
b4477fe
to
b2cdc8a
Compare
Should we push this into 0.16, just to see if Edit: Apparently there are still some issues to be solved. We should delay this to 0.17 |
b2cdc8a
to
07470d8
Compare
bors r+ |
This Pull Request switches our codebase to the brand new [workspace inherited keys](https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table), which allows us to define common package options that are usable within each crate's Cargo.toml file. It also allows to share dependency versions between crates, but I defined only shared versions for our workspace members. It would be a good follow-up to lift all the shared dependencies between crates into the global Cargo.toml.
Pull request successfully merged into main. Build succeeded:
|
You won't have any rust-related dependency update from dependabot now I think since it doesn't yet know where to find the version number for a I opened a PR for it dependabot/dependabot-core#5794, it should work but it's not merged yet. It's probably possible to regenerate the docker container and use it locally to make the necessary changes but I have no idea how to do that. I'll gladly accept people testing it and telling me if it works has expected in a variety of configs though 👍 |
This Pull Request switches our codebase to the brand new workspace inherited keys, which allows us to define common package options that are usable within each crate's Cargo.toml file.
It also allows to share dependency versions between crates, but I defined only shared versions for our workspace members. It would be a good follow-up to lift all the shared dependencies between crates into the global Cargo.toml.