37 releases

Uses new Rust 2024

0.11.0 Feb 20, 2026
0.11.0-alpha.2 Jan 11, 2026
0.10.3 Dec 2, 2025
0.10.2 Oct 30, 2025
0.2.0 Jul 12, 2021

#1912 in GUI

Download history 1966/week @ 2026-01-19 2167/week @ 2026-01-26 1832/week @ 2026-02-02 1762/week @ 2026-02-09 1623/week @ 2026-02-16 2019/week @ 2026-02-23 1956/week @ 2026-03-02 1854/week @ 2026-03-09 2037/week @ 2026-03-16 1656/week @ 2026-03-23 1672/week @ 2026-03-30 1798/week @ 2026-04-06 2173/week @ 2026-04-13 2427/week @ 2026-04-20 4115/week @ 2026-04-27 2516/week @ 2026-05-04

11,414 downloads per month
Used in 6 crates (5 directly)

MIT license

1MB
21K SLoC

Rust GDK 4 Wayland bindings

The project website is here.

Rust bindings of GDK 4's Wayland backend, part of gtk4-rs.

GDK is an intermediate layer that isolates GTK from the details of the windowing system. GDK Wayland contains functions specific to the Wayland backend.

Minimum supported Rust version

Currently, the minimum supported Rust version is 1.83.

Documentation

Using

We recommend using crates from crates.io, as demonstrated here.

If you want to track the bleeding edge, use the git dependency instead:

[dependencies]
gdk-wayland = { git = "https://github.com/gtk-rs/gtk4-rs.git", package = "gdk4-wayland" }

Avoid mixing versioned and git crates like this:

# This will not compile
[dependencies]
gdk-x11 = {version = "0.1", package = "gdk4-x11"}
gdk-wayland = { git = "https://github.com/gtk-rs/gtk4-rs.git", package = "gdk4-wayland" }

Features

Feature Description
v4_20 Enable the new APIs part of GTK 4.20
v4_18 Enable the new APIs part of GTK 4.18
v4_16 Enable the new APIs part of GTK 4.16
v4_12 Enable the new APIs part of GTK 4.12
v4_10 Enable the new APIs part of GTK 4.10
v4_4 Enable the new APIs part of GTK 4.4
wayland_crate Integration with the wayland-client crate
egl Integration with the khronos-egl crate

See Also

License

The Rust bindings of gdk4-wayland are available under the MIT License, please refer to it.

Dependencies

~7–13MB
~296K SLoC