-
Notifications
You must be signed in to change notification settings - Fork 976
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
Use cargo 1.64 workspace inheritance feature #3107
Conversation
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.
Cool!
Not a blocker, but I wanted to note that this PR would be a breaking change, because it would change the repo's current MSRV to Rust 1.64, AIUI:
|
Codecov Report
@@ Coverage Diff @@
## master #3107 +/- ##
=======================================
Coverage 64.75% 64.75%
=======================================
Files 81 81
Lines 38711 38711
=======================================
Hits 25066 25066
Misses 13645 13645
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
RE: MSRV: shall we also update the MSRV in the |
@ErichDonGubler any changes in either wgpu or naga going into master can break - we don't really do patch releases outside of major bugs, and when we patch we go into the specific version (eg. |
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.
This is totally wacky wild, but I love it!
Checklist
cargo clippy
.RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknown
if applicable.Description
Now, dependencies used by more than one package use inheritance instead.
In the
[package]
table, three fields ofname
,description
, andversion
remain independent. Although each crateversion
is now synchronized, they should be able to upgrade the version separately, in dummy, player two crates, the authors value is not the same, so it also remains independent.- In
dummy
,player
crates, theauthors
field value are not the same, so they remain independent.- The value of
homepage
field is "https://wgpu.rs/" in wgpu crate and "https://github.com/gfx-rs/wgpu" in other crate, I'm not sure if this is intentional or not, but now it is inherited as "https://wgpu.rs/" valuedeno_webgpu
andcts_runner
are not workspace members, so inheritance cannot be used.Testing
Tested locally on macOS, Windows11 and Android 12.