Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 620 Bytes

File metadata and controls

47 lines (32 loc) · 620 Bytes

Servo GTK

A GTK4 library that embeds the Servo web engine.

Features

  • GTK4-based web browser widget
  • Servo web engine integration
  • OpenGL-accelerated rendering
  • Async event handling

Building

cargo build

Running the Example

cargo run --example browser

Using as a Library

Add to your Cargo.toml:

[dependencies]
servo-gtk = { path = "path/to/servo-gtk" }

Then use in your code:

use servo_gtk::WebView;

let webview = WebView::new();
webview.load_url("https://example.com");

Dependencies

  • GTK4
  • OpenGL
  • Servo web engine
  • Rust toolchain