Skip to content

Repository files navigation


Saucers Logo

Rust bindings for saucer

Documentation


Workflow Status Upstream Version Bindings Version

Why?

Saucer is a cool webview library.

Rust is a cool language.

And by putting them together you can build cooler hybrid apps.

Prerequisites

This library is built on top of saucer-sys, to which we've offloaded most compilation setups. See the README there for details.

Examples

Warning

This project is still under development and the API is subject to change at any time.

Examples can be found in the examples directory.

Saucer Modules

Two official modules (desktop and pdf) are included. Support for custom modules are not yet planned.

Cargo Features

This crate comes with the following togglable features:

  • gen-bindings: Generates bindings on-the-fly.
  • qt: Enables the Qt backend.
  • lto: Enables cross-language LTO.

These features are forwarded into saucer-sys, see the docs there for details.

MSRV

This project is currently unstable and has only been tested on the latest stable Rust version. Although earlier versions will also likely to compile, we provide no such guarantee.

Known Limitations

  • This project is built on top of the C bindings, which exports only a subset of the C++ API. We currently have no plan to integrate with the C++ API.
  • Cross-compilation is not supported (and won't likely to be in the near future).

License

This project is released under the MIT License to make licensing consistent with saucer itself.

Not By AI

Code in this project does not contain content generated by AIs.

Note that we hold no opinion on the use of generative AIs, nor are we standing against them. This badge acts as a disclaimer for the use of the MIT license, that we're not applying it to "possible code from others".

Not By AI

About

Rust bindings for saucer, the C++ webview library.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages