talira

Embeddable web browser engine written in Rust

open sourceMPL-2.0self-hostablefree

Servo is an MPL-2.0 web browser rendering engine written in Rust, aimed at being a lightweight, high-performance way to embed web technologies in applications. It provides a WebView API for embedding web content, renders with concurrency and parallelism across CPU cores, takes advantage of Rust's memory safety, is built from modular, widely used Rust crates, and supports WebGL and WebGPU. It runs on Windows, macOS, Linux, Android and OpenHarmony and can be ported to embedded devices. The project publishes nightly builds of servoshell, a demo browser, and tracks its Web Platform Tests pass rates; it describes itself as a prototype and still warns against using it for things like online banking. Servo began at Mozilla and is now governed by a Technical Steering Committee under Linux Foundation Europe.

Problems it solves

  • embed a web view in my Rust application without bundling Chromium
  • a lightweight browser engine for an embedded device
  • a memory-safe alternative to Chromium or WebKit for rendering web content
  • render HTML and CSS with WebGPU support inside a native app

Features

  • WebView API for embedding web content in applications
  • parallel, multi-core rendering
  • memory-safe Rust implementation
  • modular architecture built on widely used Rust crates
  • WebGL and WebGPU support
  • Windows, macOS, Linux, Android and OpenHarmony; portable to embedded devices
  • nightly servoshell builds
  • published Web Platform Tests pass rates

Limitations

  • Still a prototype: the project warns against using servoshell for sensitive browsing such as online banking.1

Capabilities

Has an APIplan not known
Has official SDKsplan not known