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

Make wayland-sys dependency optional #223

Merged
merged 1 commit into from
Jun 22, 2024

Conversation

morr0ne
Copy link
Contributor

@morr0ne morr0ne commented Jun 21, 2024

As the title says, this pr makes the wayland-sys dependency optional and only enables when the wayland feature is enabled.
I noticed that I was pulling in the wayland-sys dependency while only using only the drm backend.
I am not sure whether or not this was intended behavior but I would assume there is no reason to pull a wayland dependency when not using wayland

@morr0ne morr0ne requested a review from john01dav as a code owner June 21, 2024 16:02
@daxpedda daxpedda added Wayland dependencies Pull requests that update a dependency file labels Jun 21, 2024
@notgull
Copy link
Member

notgull commented Jun 22, 2024

CI failures are probably not this PR's fault.

@notgull notgull self-requested a review June 22, 2024 01:41
@morr0ne
Copy link
Contributor Author

morr0ne commented Jun 22, 2024

CI failures are probably not this PR's fault.

I figured as such. There seem to be a problem with the msrv and some doctests are failing because of this lint: https://rust-lang.github.io/rust-clippy/master/index.html#/needless_doctest_main

Nothing seems actually related to the pr

@notgull
Copy link
Member

notgull commented Jun 22, 2024

Please rebase on master for the CI fixes

Copy link
Member

@notgull notgull left a comment

Choose a reason for hiding this comment

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

Thanks!

@notgull notgull merged commit 532e172 into rust-windowing:master Jun 22, 2024
38 checks passed
@notgull notgull mentioned this pull request Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Wayland
Development

Successfully merging this pull request may close these issues.

3 participants