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:
[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" }
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.