#webkit #gnome #gtk-rs


Rust bindings for webkit-gtk library

1 unstable release

0.14.0 Aug 21, 2021

#1039 in GUI

MIT license

19K SLoC

webkit2gtk Build Status Gitter

Project site | Online documentation

Rust bindings and wrappers for webkit2gtk.


webkit2gtk-rs expects GTK+, GLib and webkit2gtk development files to be installed on your system. See the requirements page.


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

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

webkit2gtk-rs = { git = "https://github.com/gtk-rs/webkit2gtk-rs.git" }

Avoid mixing versioned and git crates like this:

# This will not compile
gtk = "0.2"
webkit2gtk-rs = { git = "https://github.com/gtk-rs/webkit2gtk-rs.git" }


Contributor you're welcome!

See the general bindings documentation.

Most of the bindings (src/auto) are generated by gir using this configuration file. After editing Gir.toml the sources can be regenerated with

> make gir

When opening a PR please put the changes to the src/auto directory in a separate commit.


webkit2gtk-rs is available under the MIT License, please refer to it.


~438K SLoC