#gdk4 #gdk4-wayland #gnome #gui #gtk-rs

gdk4-wayland

Rust bindings of the GDK 4 Wayland library

9 unstable releases (4 breaking)

Uses new Rust 2021

0.4.8 Jun 4, 2022
0.4.7 Mar 20, 2022
0.4.2 Jan 17, 2022
0.3.1 Oct 8, 2021
0.0.0 Apr 4, 2021

#212 in GUI

Download history 710/week @ 2022-04-27 835/week @ 2022-05-04 989/week @ 2022-05-11 916/week @ 2022-05-18 775/week @ 2022-05-25 842/week @ 2022-06-01 957/week @ 2022-06-08 1181/week @ 2022-06-15 1077/week @ 2022-06-22 792/week @ 2022-06-29 754/week @ 2022-07-06 740/week @ 2022-07-13 702/week @ 2022-07-20 824/week @ 2022-07-27 1277/week @ 2022-08-03 739/week @ 2022-08-10

3,636 downloads per month

MIT license

755KB
18K 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.56.0.

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_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
xkb_crate Integration with xkb crate

See Also

License

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

Dependencies

~8MB
~187K SLoC