rust-battery icon indicating copy to clipboard operation
rust-battery copied to clipboard

Update version of mach.

Open jdm opened this issue 5 years ago • 6 comments

jdm avatar Jan 13 '20 17:01 jdm

As far as I can tell its types are not exposed through the public API, so this shouldn't require a major version change.

jdm avatar Jan 13 '20 17:01 jdm

Hm, can you rebase from master branch? I forgot to add the CI execution on the PRs for this repo, at least we can do the tests.

Yet, I think I'll not be able to merge it right now, as there is probably the same issue as with https://github.com/svartalf/rust-battery/pull/38#issuecomment-549019461; it will bump MSRV and it is probably undesired right now. Do you have any specific needs to bump the mach version?

svartalf avatar Jan 13 '20 18:01 svartalf

Only to avoid duplicate dependencies in Servo.

jdm avatar Jan 13 '20 18:01 jdm

@jdm wait, you mean Servo is using/going to use battery? Seems to be a noble reason to publish the new version then :D

svartalf avatar Jan 13 '20 18:01 svartalf

It's used indirectly through wgpu-core, and we're apparently pulling battery in as part of https://github.com/servo/servo/pull/25507. Duplicating mach isn't a big deal; make the choices that make sense for your primary consumers :)

jdm avatar Jan 13 '20 18:01 jdm

Ah, yes, barely found it: https://github.com/gfx-rs/wgpu/blob/9777bbba361690740c62fd294b968ac6f2340506/wgpu-core/Cargo.toml#L50-L51 For some reasons it is not shown at the "Reverse dependencies" page for the battery crate.

Bumping mach version is a long due task, in fact, I think we can manage it happen; probably by including some additional issues into the next release. Let's postpone this PR and I'll check what I can do with it.

svartalf avatar Jan 13 '20 18:01 svartalf