Wayland-rs version 0.23.0
This version brings one single major change in the way the cargo feature native_lib
is organized.
This feature now no longer affects the contents of the code generated by wayland-scanner
, which is thus now always compatible with both the C lib implementation and the rust one. As a consequence, the native_lib
cargo feature is now only present on wayland-client
and wayland-server
, and no longer on wayland-protocols
. Meaning that there is not going to be any more issues with synchronizing these features correctly between the crates (not doing so could lead to hard-to-understand build errors).
So now, if your project requires native_lib
, put it on wayland-client
/ wayland-server
as required, and interaction with other projects in your dependency tree (for example if using SCTK) will just work, no question asked.
An other consequence of this refactor is that now the implementations of the protocols can be cross-tested against each other. Meaning that the project's CI now runs rust-based wayland-client
and C-based wayland-client
against both rust-based and C-based wayland-server
.