5 releases (3 breaking)

0.3.1 Oct 8, 2021
0.3.0 Sep 21, 2021
0.2.0 Jul 12, 2021
0.1.0 Jun 22, 2021
0.0.0 Jul 25, 2019

#146 in GUI

Download history 642/week @ 2021-07-04 980/week @ 2021-07-11 1025/week @ 2021-07-18 1372/week @ 2021-07-25 1519/week @ 2021-08-01 2576/week @ 2021-08-08 1679/week @ 2021-08-15 2089/week @ 2021-08-22 1938/week @ 2021-08-29 2156/week @ 2021-09-05 2490/week @ 2021-09-12 3010/week @ 2021-09-19 3583/week @ 2021-09-26 4029/week @ 2021-10-03 2871/week @ 2021-10-10 2340/week @ 2021-10-17

9,297 downloads per month
Used in 10 crates (via gtk4)

MIT license

1MB
21K SLoC

Rust GSK 4 bindings

The project website is here.

Rust bindings of GSK 4, part of gtk4-rs.

GSK is an intermediate layer that isolates GTK from the details of the OpenGL or Vulkan implementation.

Minimum supported Rust version

Currently, the minimum supported Rust version is 1.54.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]
gsk = { git = "https://github.com/gtk-rs/gtk4-rs.git", package = "gsk4" }

Avoid mixing versioned and git crates like this:

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

Features

Feature Description
broadway Enable broadway Renderer. Only if GTK is compiled with Broadway support
v4_2 Enable the new APIs part of GTK 4.2

See Also

License

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

Dependencies

~9MB
~203K SLoC