#webkit #gnome #gui #gtk-rs

webkit2gtk

Rust bindings for webkit-gtk library

17 releases (11 breaking)

0.14.0 Jul 1, 2021
0.11.0 Nov 1, 2020
0.10.0 Jul 17, 2020
0.9.0 Jan 31, 2020
0.2.2 Sep 15, 2017

#171 in GUI

Download history 989/week @ 2021-04-13 1713/week @ 2021-04-20 1472/week @ 2021-04-27 1590/week @ 2021-05-04 1464/week @ 2021-05-11 969/week @ 2021-05-18 779/week @ 2021-05-25 895/week @ 2021-06-01 729/week @ 2021-06-08 922/week @ 2021-06-15 1064/week @ 2021-06-22 939/week @ 2021-06-29 903/week @ 2021-07-06 1055/week @ 2021-07-13 1082/week @ 2021-07-20 1037/week @ 2021-07-27

4,837 downloads per month
Used in 7 crates (5 directly)

MIT license

4MB
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

~16MB
~385K SLoC