Rust bindings for saucer
Saucer is a cool webview library.
Rust is a cool language.
And by putting them together you can build cooler hybrid apps.
This library is built on top of saucer-sys, to which we've offloaded most compilation setups. See the README there for details.
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.
Two official modules (desktop and pdf) are included. Support for custom modules are not yet planned.
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.
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.
- 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).
This project is released under the MIT License to make licensing consistent with saucer itself.
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".