#gtk #webkit #gnome #api-bindings #wrapper

tauri-webkit2gtk

Rust bindings for webkit-gtk library

1 unstable release

0.14.0 Aug 21, 2021

#1195 in GUI

MIT license

1MB
19K SLoC

webkit2gtk Build Status Gitter

Project site | Online documentation

Rust bindings and wrappers for webkit2gtk.

Building

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

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]
webkit2gtk-rs = { git = "https://github.com/gtk-rs/webkit2gtk-rs.git" }

Avoid mixing versioned and git crates like this:

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

Contribute

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.

License

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

Dependencies

~18MB
~425K SLoC